Tool authentication
Follow three tool calls from one agent, each using a different credential. An API key goes straight through, a service account gets a token on its own, and OAuth pauses the run so a real user can log in.
12 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 12 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