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

Function isSearchOrReadCommand

src/tools/FileReadTool/FileReadTool.ts:382–384  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

380 return input.file_path
381 },
382 isSearchOrReadCommand() {
383 return { isSearch: false, isRead: true }
384 },
385 getPath({ file_path }): string {
386 return file_path || getCwd()
387 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected