Tools are functions that helps Agno Agents to interact with the external world.
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
.Toolkit
class provides a way to manage multiple tools with additional control over their execution. You can specify which tools should stop the agent after execution and which should have their results shown.
GoogleSearchTools
toolkit is configured to stop the agent after executing the google_search
function and to show the result of this function.
Read more about: