MCPcopy Index your code
hub / github.com/simstudioai/sim / markToolCallCancelled

Function markToolCallCancelled

apps/sim/lib/copilot/request/tools/executor.ts:453–458  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

451 }
452
453 const markToolCallCancelled = (message: string) => {
454 setTerminalToolCallState(toolCall, {
455 status: MothershipStreamV1ToolOutcome.cancelled,
456 error: message,
457 })
458 }
459
460 if (abortRequested(context, execContext, options)) {
461 markToolCallCancelled('Request aborted before tool execution')

Callers 1

Calls 1

setTerminalToolCallStateFunction · 0.90

Tested by

no test coverage detected