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

Function isWriteTool

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

Source from the content-addressed store, hash-verified

96}
97
98export function isWriteTool(tool: ToolName): boolean {
99 return tool === "write_file" || tool === "write";
100}
101
102export function isEditTool(tool: ToolName): boolean {
103 return tool === "edit_file" || tool === "edit" || tool === "apply_patch";

Callers 3

shouldUseHeavyPayloadFunction · 0.85
renderSummaryBadgeFunction · 0.85
HeavyPayloadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected