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 functionalitymax_iterations (
int) β Maximum number of optimization iterationssave_to_file (
bool) β Whether to save the generated tool filesoutput_file (
str) β Optional file path to save the generated toolsave_dir (
str) β Directory path to save the generated tool files (defaults to current working β¦stream_callback (
Callable, optional) β Callback for streaming output
- Return type:
dict[str,Any]