tooluniverse.tools.ToolDiscover moduleΒΆ

ToolDiscover

Generates new ToolUniverse-compliant tools based on short descriptions using XML format for simul…

tooluniverse.tools.ToolDiscover.ToolDiscover(tool_description, max_iterations=2, save_to_file=True, output_file=None, save_dir=None, *, stream_callback=None, use_cache=False, validate=True)[source]ΒΆ

Generates new ToolUniverse-compliant tools based on short descriptions using XML format for simul…

Parameters:
  • tool_description (str) – Short description of the desired tool functionality

  • max_iterations (int) – Maximum number of optimization iterations

  • save_to_file (bool) – Whether to save the generated tool files

  • output_file (str) – Optional file path to save the generated tool

  • save_dir (str) – Directory path to save the generated tool files (defaults to current working …

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

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

dict[str, Any]