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

Method list

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

* 列出所有工具 * @param filter 过滤条件 * @returns 工具列表

(filter?: { type?: "builtin" | "custom" | "mcp"; category?: string; enabled?: boolean })

Source from the content-addressed store, hash-verified

36 * @returns 工具列表
37 */
38 async list(filter?: { type?: "builtin" | "custom" | "mcp"; category?: string; enabled?: boolean }): Promise<ToolInfo[]> {
39 const result = await this.request<{ tools: ToolInfo[] }>("/v1/tools", {
40 params: filter,
41 });
42 return result.tools;
43 }
44
45 /**
46 * 获取工具详情

Callers 7

mainFunction · 0.95
memory.test.tsFile · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected