MCPcopy Create free account
hub / github.com/astercloud/aster / handleToolCancelled

Function handleToolCancelled

ui/src/stores/tools.ts:120–125  ·  view source on GitHub ↗
(id: string, reason?: string)

Source from the content-addressed store, hash-verified

118 * 处理工具取消事件
119 */
120 const handleToolCancelled = (id: string, reason?: string) => {
121 updateTool(id, {
122 state: "cancelled",
123 error: reason,
124 });
125 };
126
127 /**
128 * 获取指定工具的状态

Callers

nothing calls this directly

Calls 1

updateToolFunction · 0.85

Tested by

no test coverage detected