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

Method get

client-sdks/client-js/src/resources/tool.ts:50–52  ·  view source on GitHub ↗

* 获取工具详情 * @param toolName 工具名称 * @returns 工具信息

(toolName: string)

Source from the content-addressed store, hash-verified

48 * @returns 工具信息
49 */
50 async get(toolName: string): Promise<ToolInfo> {
51 return this.request<ToolInfo>(`/v1/tools/${toolName}`);
52 }
53
54 /**
55 * 启用工具

Callers 11

__init__Method · 0.45
call_toolMethod · 0.45
list_toolsMethod · 0.45
get_tool_schemaMethod · 0.45
unsubscribeMethod · 0.45
memory.test.tsFile · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1

requestMethod · 0.80

Tested by

no test coverage detected