* 搜索工具
(query: string)
| 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 |
nothing calls this directly
no test coverage detected