MCPcopy Create free account
hub / github.com/Waishnav/devspace / isReadTool

Function isReadTool

src/ui/card-types.ts:94–96  ·  view source on GitHub ↗
(tool: ToolName)

Source from the content-addressed store, hash-verified

92}
93
94export function isReadTool(tool: ToolName): boolean {
95 return tool === "read_file" || tool === "read";
96}
97
98export function isWriteTool(tool: ToolName): boolean {
99 return tool === "write_file" || tool === "write";

Callers 2

shouldUseHeavyPayloadFunction · 0.85
HeavyPayloadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected