* 获取可用工具列表
()
| 840 | * 获取可用工具列表 |
| 841 | */ |
| 842 | public getAvailableTools(): ToolDefinition[] { |
| 843 | const toolComponent = this.getToolComponent(); |
| 844 | if (!toolComponent) { |
| 845 | return []; |
| 846 | } |
| 847 | return toolComponent.getTools(); |
| 848 | } |
| 849 | |
| 850 | /** |
| 851 | * 搜索工具 |
nothing calls this directly
no test coverage detected