tooluniverse.tools.ToolMetadataGenerationPipeline module

ToolMetadataGenerationPipeline

Generates standardized metadata for a batch of ToolUniverse tool configurations by calling ToolMe…

tooluniverse.tools.ToolMetadataGenerationPipeline.ToolMetadataGenerationPipeline(tool_configs, tool_type_mappings, add_existing_tooluniverse_labels, max_new_tooluniverse_labels, *, stream_callback=None, use_cache=False, validate=True)[source]

Generates standardized metadata for a batch of ToolUniverse tool configurations by calling ToolMe…

Parameters:
  • tool_configs (list[Any]) – List of raw tool configuration JSON objects to extract and standardize metada…

  • tool_type_mappings (dict[str, Any]) – Mapping of simplified toolType (keys) to lists of tool ‘type’ values belongin…

  • add_existing_tooluniverse_labels (bool) – Whether to include labels from existing ToolUniverse tools when labeling the …

  • max_new_tooluniverse_labels (int) – The maximum number of new ToolUniverse labels to use in the metadata configs …

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

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

Any