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

Function isSearchOrReadCommand

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

Source from the content-addressed store, hash-verified

1808 return tool.annotations?.openWorldHint ?? false
1809 },
1810 isSearchOrReadCommand() {
1811 return classifyMcpToolForCollapse(client.name, tool.name)
1812 },
1813 inputJSONSchema: tool.inputSchema as Tool['inputJSONSchema'],
1814 async checkPermissions() {
1815 return {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected