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

Function isSearchOrReadCommand

src/tools/BashTool/BashTool.tsx:469–477  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

467 };
468 },
469 isSearchOrReadCommand(input) {
470 const parsed = inputSchema().safeParse(input);
471 if (!parsed.success) return {
472 isSearch: false,
473 isRead: false,
474 isList: false
475 };
476 return isSearchOrReadBashCommand(parsed.data.command);
477 },
478 get inputSchema(): InputSchema {
479 return inputSchema();
480 },

Callers

nothing calls this directly

Calls 2

inputSchemaFunction · 0.70

Tested by

no test coverage detected