MCPcopy Create free account
hub / github.com/echoVic/blade-code / getTool

Method getTool

src/tools/ToolManager.ts:112–114  ·  view source on GitHub ↗

* 获取特定工具

(toolName: string)

Source from the content-addressed store, hash-verified

110 * 获取特定工具
111 */
112 public getTool(toolName: string): ToolDefinition | undefined {
113 return this.tools.get(toolName);
114 }
115
116 /**
117 * 检查工具是否存在

Callers 2

toolsCommandFunction · 0.80
getToolInfoMethod · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected