ToolsCapability

ToolsCapability(tool_list: list[Tool])

Adding a list of tools as composable capabilities to a single agent.
This class can be inherited from to allow code to run at the point of creating or adding the capability.
Note: both caller and executor of the tools are the same agent.

Parameters:
NameDescription
tool_listType: list[Tool]

Instance Methods

add_to_agent

add_to_agent(self, agent: ConversableAgent) -> 

Add tools to the given agent.

Parameters:
NameDescription
agentType: ConversableAgent