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

Function handleToolStart

ui/src/stores/tools.ts:60–67  ·  view source on GitHub ↗
(call: ToolCallSnapshot)

Source from the content-addressed store, hash-verified

58 * 处理工具开始事件
59 */
60 const handleToolStart = (call: ToolCallSnapshot) => {
61 toolRuns.value.set(call.id, {
62 ...call,
63 state: "executing",
64 started_at: call.started_at || new Date().toISOString(),
65 updated_at: new Date().toISOString(),
66 });
67 };
68
69 /**
70 * 处理工具进度事件

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected