MCPcopy Create free account
hub / github.com/codeaashu/claude-code / isDestructive

Function isDestructive

src/services/mcp/client.ts:1804–1806  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1802 return mcpToolInputToAutoClassifierInput(input, tool.name)
1803 },
1804 isDestructive() {
1805 return tool.annotations?.destructiveHint ?? false
1806 },
1807 isOpenWorld() {
1808 return tool.annotations?.openWorldHint ?? false
1809 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected