set_tools call. Note that this will remove any other tools already assigned to your Agent or Team and override it with the list of tools provided to set_tools.
Agent Example
Create your own tool, for exampleget_weather. Then call add_tool to attach it to your Agent.
add_agent_tool_post_initialization.py
Team Example
Create a list of tools, and assign them to your Team withset_tools
add_team_tool_post_initialization.py
Developer Resources
- Creating your own tools - Write custom tools from Python functions
- Available Toolkits - Browse pre-built toolkits
- Selecting Tools - Filter which tools a toolkit exposes