工具组成工具¶
配置文件:tool_composition_tools.json
工具类型:本地
工具数量:2
此页面包含 tool_composition_tools.json 配置文件中定义的所有工具。
可用工具¶
**工具兼容性分析器**(类型:AgenticTool)¶
分析两个工具规范,以确定一个工具的输出是否可以作为另一个工具的输入。
ToolCompatibilityAnalyzer 工具规格说明
工具信息:
名称:
ToolCompatibilityAnalyzer类型:
AgenticTool描述:分析两个工具的规格,以确定一个工具的输出是否可以作为另一个工具的输入。返回兼容性信息以及建议的参数映射。
参数:
``source_tool``(字符串)(必填)源工具规范(JSON 字符串,包含名称、描述、参数模式和示例输出)
``target_tool``(字符串)(必填)目标工具规范(包含名称、描述和参数模式的 JSON 字符串)
analysis_depth(string) (required) Level of analysis depth - quick for basic compatibility, detailed for parameter mapping, comprehensive for semantic analysis
示例用法:
query = {
"name": "ToolCompatibilityAnalyzer",
"arguments": {
"source_tool": "example_value",
"target_tool": "example_value",
"analysis_depth": "example_value"
}
}
result = tu.run(query)
**ToolGraphComposer**(类型:ComposeTool)¶
在ToolUniverse中构建工具兼容性关系的全面图谱。分析所有可用工具的兼容性关系…
ToolGraphComposer 工具规范
工具信息:
名称:
ToolGraphComposer类型:
ComposeTool描述:构建ToolUniverse中工具兼容性关系的综合图表。分析所有可用工具,并创建一个有向图,显示哪些工具可以组合使用。
参数:
output_path(string) (required) Path to save the generated graph files (JSON and pickle formats)analysis_depth(string) (required) Level of compatibility analysis to performmin_compatibility_score(integer) (required) Minimum compatibility score to create an edge in the graphexclude_categories(array) (required) Tool categories to exclude from analysis (e.g., [‘tool_finder’, ‘special_tools’])max_tools_per_category(integer) (required) Maximum number of tools to analyze per category (for performance)force_rebuild(boolean) (required) Whether to force rebuild even if cached graph exists
示例用法:
query = {
"name": "ToolGraphComposer",
"arguments": {
"output_path": "example_value",
"analysis_depth": "example_value",
"min_compatibility_score": 10,
"exclude_categories": ["item1", "item2"],
"max_tools_per_category": 10,
"force_rebuild": true
}
}
result = tu.run(query)