Skip to main content

add_tool

AsyncMethod
This is a method of the Agent class in the agent module.
Add a tool to the agent

Signature

async def add_tool(&self, tool: impl Tool + 'static) -> ()

Parameters

tool
impl Tool + 'static
required
No description available.

Returns

Returns
()
The result of the operation.