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, output_path, save_intermediate_every, *, 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 objects

  • max_tools (int) – Optional max number of tools to process (debug)

  • output_path (str) – Path for output graph JSON

  • save_intermediate_every (int) – Checkpoint every N processed pairs

  • stream_callback (Callable, optional) – Callback for streaming output

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

Any