tooluniverse.custom_tool moduleΒΆ

CustomTool implementation for ToolUniverse Handles execution of dynamically generated tools with external code files

class tooluniverse.custom_tool.CustomTool[source]ΒΆ

Bases: BaseTool

CustomTool class for executing dynamically generated tools

__init__(tool_config)[source]ΒΆ
run(arguments=None)[source]ΒΆ

Execute the custom tool

Parameters:

arguments (Any) – Input arguments for the tool

Returns:

Dict containing the result of tool execution

Return type:

Dict[str, Any]