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

Function isEditTool

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

Source from the content-addressed store, hash-verified

100}
101
102export function isEditTool(tool: ToolName): boolean {
103 return tool === "edit_file" || tool === "edit" || tool === "apply_patch";
104}
105
106export function isSearchTool(tool: ToolName): boolean {
107 return tool === "grep_files" || tool === "find_files" || tool === "grep" || tool === "glob";

Callers 4

shouldUseHeavyPayloadFunction · 0.85
renderSummaryBadgeFunction · 0.85
HeavyPayloadFunction · 0.85
card-types.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected