Tools
Introduction
Tools are functions that an Agent can call to interact with the external world.
Tools make agents - “agentic” by enabling them to interact with external systems like searching the web, running SQL, sending an email or calling APIs.
Agno comes with 80+ pre-built toolkits, but in most cases, you will write your own tools. The general syntax is:
In the example above, the get_weather
function is a tool. When it is called, the tool result will be shown in the output because we set show_result=True
.
Then, the Agent will stop after the tool call because we set stop_after_tool_call=True
.
Read more about: