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

Function getTool

ui/src/stores/tools.ts:130–132  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

128 * 获取指定工具的状态
129 */
130 const getTool = (id: string): ToolCallSnapshot | undefined => {
131 return toolRuns.value.get(id);
132 };
133
134 /**
135 * 移除工具记录

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected