| Example | Description |
|---|---|
| Callable Tools Factory | Pass a function as tools instead of a list. |
| Session State Tools | Use session_state as a parameter name in your factory to receive the session state dict directly (no need for run_context). |
| Team Callable Members | Pass a function as members to a Team. |
| Tool Call Limit | Use tool call limit to control the number of tool calls an agent can make. |
| Tool Choice | Compare tool_choice values none, auto, and a forced get_weather call across three agents. |
| Dependencies In Context | Resolve a HackerNews fetch function as a runtime dependency and add its output to the agent’s context. |
| Dependencies In Tools | Example showing how tools can access dependencies passed to the agent. |
| Dynamic Tools | Build the tool list at runtime from a function that reads session state off the RunContext. |
| Tools with Literal Type Parameters | Use typing.Literal for function parameters in Agno toolkits and standalone tools. |
Tools
Tools
Examples for callable tool factories, tool choice, tool call limits, and tools driven by runtime dependencies.