Connecting Agents to Tools and Services with Google ADK 2.0
Google ADK 2.0
Connect agents to BigQuery, databases through MCP Toolbox, Agent Search, Google Search and code execution, then add Skills and A2A.
What are ADK tool integrations?
An ADK tool integration connects an agent to a function, data source or external service. An integration gives the assistant another way to obtain information or request work. Some function tools run in your process, database tools call a separate server, and Gemini built-in tools execute on Google’s service. Identify that boundary before interpreting a tool result.
Follow documentation questions into their actual sources: bundled release-note records, PostgreSQL feedback, BigQuery analytics or a managed search index. Compare fixed SQL tools with model-written queries, then call a separately hosted assistant through A2A. Each lesson states which activity is local and which needs a cloud service.
What you'll learn
- Load Agent Skills from a folder and run their scripts through a code executor.
- Ground answers with Google Search and compute with Gemini code execution, and cite from grounding metadata.
- Query PostgreSQL through MCP Toolbox for Databases with fixed SQL tools and a read-only role.
- Serve an agent over A2A and call it from another agent.
Lessons
Module 1 · 2 lessons · about 40 minAdd Skills and built-in Gemini tools
Load Skills from folders, then use Google Search and Gemini code execution.
Give an agent skills from a folder with SkillToolsetRead
Load a folder of Agent Skills into an ADK agent with SkillToolset, run skill scripts, and catch the failures that silently skip a skill's steps.
Use Gemini built-in tools: Google Search grounding and code executionRead
Add Gemini's Google Search and code execution to an ADK agent beside a function tool, cite answers from grounding metadata, and handle request errors.
Module 2 · 4 lessons · about 2 hoursConnect databases, search and other agents
Query PostgreSQL and BigQuery, search private data with Agent Search and connect agents through A2A.
Query PostgreSQL through MCP Toolbox for DatabasesRead
Connect an ADK agent to PostgreSQL through MCP Toolbox with fixed SQL tools and a read-only role, and catch toolsets that fail to load.
Query BigQuery with BigQueryToolsetRead
Query docs analytics through ADK BigQueryToolset with SELECT-only execution, a per-query bytes cap, and offline tests for refused jobs.
Search private data stores with Agent SearchRead
Search engineering documents with ADK VertexAiSearchTool, validate a team filter from application state, and inspect recorded grounding metadata.
Expose the docs assistant over A2A and consume itRead
Serve an ADK agent over A2A with to_a2a, call it from another agent with RemoteA2aAgent, and debug card, connection and timeout failures.
