Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
toolsCommand
Function · 0.80
applyFilters
Method · 0.80
Calls
1
has
Method · 0.80
Tested by
no test coverage detected