Skip to content

Tool manager

ToolManager

Bases: ComponentManagerBase

The ToolManager class, which is used to manage the tools.

Source code in agentuniverse/agent/action/tool/tool_manager.py
Python
@singleton
class ToolManager(ComponentManagerBase):
    """The ToolManager class, which is used to manage the tools."""

    def __init__(self):
        """Initialize the ToolManager."""
        super().__init__(ComponentEnum.TOOL)

__init__()

Initialize the ToolManager.

Source code in agentuniverse/agent/action/tool/tool_manager.py
Python
def __init__(self):
    """Initialize the ToolManager."""
    super().__init__(ComponentEnum.TOOL)