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

Method getTools

src/agent/ToolComponent.ts:143–148  ·  view source on GitHub ↗

* 获取所有工具

()

Source from the content-addressed store, hash-verified

141 * 获取所有工具
142 */
143 public getTools(): ToolDefinition[] {
144 if (!this.toolManager) {
145 throw new Error('工具组件未初始化');
146 }
147 return this.toolManager.getTools();
148 }
149
150 /**
151 * 按分类获取工具

Callers 7

getToolsByCategoryMethod · 0.95
searchToolsMethod · 0.95
generateToolDocsMethod · 0.95
initMethod · 0.45
applyFiltersMethod · 0.45
analyzeToolNeedMethod · 0.45
getAvailableToolsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected