tooluniverse.tools.ToolSpecificationGenerator module¶

ToolSpecificationGenerator

Generates complete ToolUniverse-compliant tool specifications based on a description and analysis


tooluniverse.tools.ToolSpecificationGenerator.ToolSpecificationGenerator(tool_description, tool_category, tool_type, similar_tools, existing_tools_summary, *, stream_callback=None, use_cache=False, validate=True)[source]¶

Generates complete ToolUniverse-compliant tool specifications based on a description and analysis


Parameters:
  • tool_description (str) – Brief description of the desired tool functionality and purpose.

  • tool_category (str) – Target category for the tool (e.g., ‘biomedical’, ‘data_analysis’, ‘text_proc


  • tool_type (str) – Specific ToolUniverse tool type (e.g., ‘AgenticTool’, ‘RESTTool’, ‘PythonTool’).

  • similar_tools (str) – JSON string containing configurations of similar existing tools for analysis 


  • existing_tools_summary (str) – Summary of existing tools in the ecosystem to avoid duplication and identify 


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

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

Any