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]