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

Function addToolCallStep

ui/src/stores/thinking.ts:80–86  ·  view source on GitHub ↗
(messageId: string, toolName: string, args: any)

Source from the content-addressed store, hash-verified

78 * 添加工具调用步骤
79 */
80 const addToolCallStep = (messageId: string, toolName: string, args: any) => {
81 addStep(messageId, {
82 type: "tool_call",
83 tool: { name: toolName, args },
84 timestamp: Date.now(),
85 });
86 };
87
88 /**
89 * 添加工具结果步骤

Callers

nothing calls this directly

Calls 1

addStepFunction · 0.85

Tested by

no test coverage detected