Function tools
See how ADK turns a plain Python function into a schema the model can call, what happens when the model gets the arguments wrong, and why your return value should be a dict.
10 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 10 minutes.
Written from the official documentation
In this module: Tools
- Function toolsPlain functions, docstrings and tool schemas.Pro
- Tool performance and limitsWhat slows tools down, and the hard limits.Pro
- Tool authenticationOAuth, API keys and service accounts.Pro
- Action confirmationsAsking a human before a risky call.Pro
- OpenAPI toolsA whole REST API as tools, from one spec.Pro
- MCP toolsModel Context Protocol servers as toolsets.Pro
- Your agent as an MCP serverExposing ADK agents to other MCP clients.Pro
- Gemini built-in toolsGoogle Search, code execution and computer use.Pro
- Google Cloud toolsBigQuery, Spanner, Bigtable, Pub/Sub, Application Integration, API Hub.Pro
- Skills for ADK agentsPackaged know-how an agent can load.Pro
- Writing a skill: the SKILL.md specFrontmatter rules, folders and progressive disclosure, with a live validator.Pro
- The integrations ecosystemThird-party MCP tools, plugins and runners.Pro