Domain 2: Google Cloud's Gen AI Offerings (Part 3 of 3)
This lesson covers 3 exam topics: How Agents Use Tools, Google Cloud Services and AI APIs for Agents, Agent Studio vs Google AI Studio. Each topic has a short video, then the notes: key facts, exam traps and what to check in the official docs.
1. How Agents Use Tools
Central question: How do agents use tools to act in the world?
Facts
| Tool type (exam guide) | What it does |
|---|---|
| Extensions | Connect a model to an external API through a standard description, run by the platform |
| Functions | The model returns a structured function call with arguments; your application runs it and returns the result |
| Data stores | Give the agent searchable knowledge (for example, Agent Search data stores) for grounded answers |
| Plugins | Packaged integrations that add capabilities to an agent or assistant |
- Function calling (tool use): the model gets tool definitions, decides whether a tool is needed and outputs structured data naming the tool and its parameters (for example get_current_weather(location='Boston')); your code executes the call (function calling docs).
- Newer standard: the Model Context Protocol (MCP) connects agents to tools and data; Agent2Agent (A2A) connects agents to other agents.
- Built-in tools include Grounding with Google Search and code execution in a sandbox.
Exam traps
- The model executes the function itself. It only proposes the call; your app runs it.
- Data stores to take actions. Data stores provide knowledge; functions or extensions act.
2. Google Cloud Services and AI APIs for Agents
Central question: Which Google Cloud services and prebuilt AI APIs can agents use as tools?
Facts
| Need | Service or API |
|---|---|
| Store files, documents | Cloud Storage |
| Query business data | BigQuery, Cloud SQL, Firestore, Spanner |
| Run custom tool code | Cloud Run functions (Cloud Functions), Cloud Run |
| Transcribe speech / speak | Speech-to-Text API / Text-to-Speech API |
| Translate text / documents | Translation API / Document Translation |
| Extract data from forms and invoices | Document AI API |
| Analyze images / video | Cloud Vision API / Video Intelligence API |
| Sentiment, entities, classification | Natural Language API |
| Find any Google API | Google Cloud API Library |
- Prebuilt APIs are pre-trained: no ML expertise or training data is needed, which speeds time to value.
- Agents typically wrap these services as tools (functions or MCP servers) and call them when a task needs them.
Exam traps
- Training a custom OCR model for invoices. Use Document AI.
- Using Natural Language API to translate. Use Translation API.
3. Agent Studio vs Google AI Studio
Central question: When do you use Google AI Studio and when Agent Studio?
Facts
| Google AI Studio (Gemini API) | Agent Studio (Agent Platform) | |
|---|---|---|
| Sign-up | Google account | Google Cloud account with billing |
| Authentication | API key | IAM service accounts |
| Support and SLA | No enterprise support or SLAs | 24/7 enterprise support and SLAs |
| Compliance | No certifications such as HIPAA or SOC 2 | HIPAA, SOC 2, data residency, CMEK, Access Transparency |
| Data use | Free tier: prompts may be used to improve Google products | Never used to improve Google products |
| MLOps | Limited | Evaluation, Model Monitoring, Model Registry, tuning |
- Source: the official migration guide from Google AI Studio to Gemini Enterprise Agent Platform (checked 2026-10-26).
- Google AI Studio suits quick prototyping and individual developers; Agent Studio suits enterprise builds that need security, governance and scale.
Exam traps
- Prototyping regulated health data in Google AI Studio. Use Agent Studio on Agent Platform.
- Agent Studio needs only a Google account. It needs a Google Cloud project with billing.
References
- GAIL exam guide — checked Oct 26, 2026
- Function calling — checked Oct 26, 2026
- Migrate from Google AI Studio — checked Oct 26, 2026
- Agent Studio — checked Oct 26, 2026
Check your understanding
Agent needs to check live order status in your system?Show answerHide answer
Answer
A function (tool) calling your API.Pull totals from scanned invoices?Show answerHide answer
Answer
Document AI API.Hackathon prototype with an API key?Show answerHide answer
Answer
Google AI Studio.Agent needs grounded answers from manuals?Show answerHide answer
Answer
A data store.Turn agent replies into voice?Show answerHide answer
Answer
Text-to-Speech API.