Skip to content
Google Cloud Certified Generative AI Leader (GAIL) Exam Prep

Lesson 5 of 8 · 11 min

x
5/8

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

Video lesson: GAIL 19/32: How Agents Use Tools

Central question: How do agents use tools to act in the world?

Facts

Tool type (exam guide)What it does
ExtensionsConnect a model to an external API through a standard description, run by the platform
FunctionsThe model returns a structured function call with arguments; your application runs it and returns the result
Data storesGive the agent searchable knowledge (for example, Agent Search data stores) for grounded answers
PluginsPackaged 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

Video lesson: GAIL 20/32: Google Cloud Services and AI APIs for Agents

Central question: Which Google Cloud services and prebuilt AI APIs can agents use as tools?

Facts

NeedService or API
Store files, documentsCloud Storage
Query business dataBigQuery, Cloud SQL, Firestore, Spanner
Run custom tool codeCloud Run functions (Cloud Functions), Cloud Run
Transcribe speech / speakSpeech-to-Text API / Text-to-Speech API
Translate text / documentsTranslation API / Document Translation
Extract data from forms and invoicesDocument AI API
Analyze images / videoCloud Vision API / Video Intelligence API
Sentiment, entities, classificationNatural Language API
Find any Google APIGoogle 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

Video lesson: GAIL 21/32: 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-upGoogle accountGoogle Cloud account with billing
AuthenticationAPI keyIAM service accounts
Support and SLANo enterprise support or SLAs24/7 enterprise support and SLAs
ComplianceNo certifications such as HIPAA or SOC 2HIPAA, SOC 2, data residency, CMEK, Access Transparency
Data useFree tier: prompts may be used to improve Google productsNever used to improve Google products
MLOpsLimitedEvaluation, 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

  1. GAIL exam guide — checked Oct 26, 2026
  2. Function calling — checked Oct 26, 2026
  3. Migrate from Google AI Studio — checked Oct 26, 2026
  4. Agent Studio — checked Oct 26, 2026

Check your understanding

  • Agent needs to check live order status in your system?Show answer

    Answer

    A function (tool) calling your API.
  • Pull totals from scanned invoices?Show answer

    Answer

    Document AI API.
  • Hackathon prototype with an API key?Show answer

    Answer

    Google AI Studio.
  • Agent needs grounded answers from manuals?Show answer

    Answer

    A data store.
  • Turn agent replies into voice?Show answer

    Answer

    Text-to-Speech API.
Previous

Progress is saved in this browser.

Next Lesson