tooluniverse.tools.ToolGraphGenerationPipeline module¶
ToolGraphGenerationPipeline
Generates a directed tool relationship graph among provided tool configs using ToolRelationshipDe…
- tooluniverse.tools.ToolGraphGenerationPipeline.ToolGraphGenerationPipeline(tool_configs, max_tools=None, output_path='./tool_relationship_graph.json', save_intermediate_every=5000, *, stream_callback=None, use_cache=False, validate=True)[source]¶
Generates a directed tool relationship graph among provided tool configs using ToolRelationshipDe…
- Parameters:
tool_configs (
list[Any]) – List of tool configuration objectsmax_tools (
int) – Optional max number of tools to process (debug)output_path (
str) – Path for output graph JSONsave_intermediate_every (
int) – Checkpoint every N processed pairsstream_callback (
Callable, optional) – Callback for streaming output
- Return type:
Optional[dict[str,Any]]