MCPcopy Create free account
hub / github.com/Noumena-Network/code / isSearchOrReadCommand

Function isSearchOrReadCommand

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

Source from the content-addressed store, hash-verified

384 return input.file_path
385 },
386 isSearchOrReadCommand() {
387 return { isSearch: false, isRead: true }
388 },
389 getPath({ file_path }): string {
390 return file_path || getCwd()
391 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected