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

Method hasTool

src/tools/ToolManager.ts:119–121  ·  view source on GitHub ↗

* 检查工具是否存在

(toolName: string)

Source from the content-addressed store, hash-verified

117 * 检查工具是否存在
118 */
119 public hasTool(toolName: string): boolean {
120 return this.tools.has(toolName);
121 }
122
123 /**
124 * 启用/禁用工具

Callers 2

toolsCommandFunction · 0.80
applyFiltersMethod · 0.80

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected