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

Method searchTools

src/agent/Agent.ts:853–859  ·  view source on GitHub ↗

* 搜索工具

(query: string)

Source from the content-addressed store, hash-verified

851 * 搜索工具
852 */
853 public searchTools(query: string): ToolDefinition[] {
854 const toolComponent = this.getToolComponent();
855 if (!toolComponent) {
856 return [];
857 }
858 return toolComponent.searchTools(query);
859 }
860
861 // ======================== 状态和工具方法 ========================
862

Callers

nothing calls this directly

Calls 1

getToolComponentMethod · 0.95

Tested by

no test coverage detected