Gen AI Agent Tooling: Extensions, Functions, Data Stores, and Plugins
Tools are what turn a gen AI model into a gen AI agent: they let the agent reach beyond its frozen training data to interact with the external environment — fetching live information, using company data, and taking actions to complete tasks. Google Cloud defines four types of agent tooling: extensions, which are standardized bridges between an agent and external APIs; functions, where the model chooses an action but your application executes it; data stores, which ground the agent in your organization's information; and plugins, which connect the agent to outside applications and services. Around these sit the Google Cloud services agents commonly use — Cloud Storage, databases, Cloud Functions, Cloud Run — and the pre-built AI APIs that give agents senses, such as Speech-to-Text, Translation, Document Translation, Document AI, and Cloud Vision, all discoverable through the Google Cloud API Library. In this lesson you will learn what each tool type does, which services and APIs support them, and when to build in Agent Studio versus Google AI Studio.
On this page8 sections
- Why gen AI agents need tools
- The four types of agent tools
- Extensions and functions: who controls the action
- Data stores: grounding agents in your information
- Plugins: extending agents into other applications
- Google Cloud services that power agent tooling
- Pre-built AI APIs: ready-made senses for agents
- Agent Studio versus Google AI Studio
- Explain why gen AI agents need tools to interact with the external environment and complete tasks
- Distinguish the four agent tool types: extensions, functions, data stores, and plugins
- Describe how extensions and functions differ in where execution happens and who controls it
- Explain why data stores beat tuning or prompt-pasted content for knowledge that changes often
- Identify the Google Cloud services that support agent tooling — Cloud Storage, databases, Cloud Functions, Cloud Run, Agent Platform, and the Google Cloud API Library
- Match pre-built AI APIs such as Speech-to-Text, Translation, Document Translation, Document AI, Cloud Vision, and Video Intelligence to agent capabilities, and explain when a pre-built API beats custom training
- Determine when to use Agent Studio and when to use Google AI Studio
Why gen AI agents need tools
Agents need tools because a foundation model on its own can only generate text from what it learned during training — it cannot check today's inventory, look up a customer record, book an appointment, or send a confirmation. Its knowledge is frozen at a cutoff date, it has no access to your private systems, and it cannot take actions in the world. Tools remove those limits: they are the agent's connection to the external environment, letting it retrieve live information and act on the user's behalf.
Conceptually, an agent runs a loop. It receives a goal, reasons about what is needed, decides whether a tool can supply missing information or perform a required step, uses the tool, observes the result, and continues until the task is done. The model provides the reasoning; the tools provide the reach. Without tools, an assistant can only explain your refund policy. With tools, it can find the order, check its eligibility, issue the refund, and confirm — the difference between describing work and doing it.
For business leaders, this is the central point of the objective: the value of an agent is set less by how clever its model is and more by which systems it is allowed to see and act on. Deciding which tools an agent gets — and under what controls — is therefore a business and governance decision, not only a technical one.
The four types of agent tools
Google Cloud groups agent tooling into four types, and the exam expects you to tell them apart by what each connects the agent to and where the work happens.
| Tool type | What it is | Who executes the call | Example |
|---|---|---|---|
| Extensions | Standardized, often pre-built bridges that connect the agent directly to external APIs | The agent platform calls the API on the agent's behalf | An agent calls a flight search service to quote live fares |
| Functions | Action definitions the model can choose; it outputs which function to call and with what arguments | Your application executes the call on the client side | The model requests submit_order; your system validates and runs it |
| Data stores | Connections to your documents, websites, and structured data that ground answers in company information | The platform retrieves relevant content at question time | An HR agent answers from the current leave policy with citations |
| Plugins | Connections that extend the agent into outside applications and services | The connected application handles the request | A retail agent adds an item to the customer's cart in the storefront |
A useful way to hold the distinction: extensions and plugins are about reaching out to external capabilities, functions are about keeping control of what actually runs, and data stores are about knowing your business. Exam scenarios usually hinge on which of those three needs is being described.
Extensions and functions: who controls the action
Extensions and functions both let an agent invoke capabilities beyond the model, and the exam-relevant difference is where execution happens. With an extension, the agent platform itself calls the external API in real time: the agent decides it needs, say, live shipping rates, the extension makes the call, and the result flows straight back into the agent's reasoning. Extensions are standardized and often pre-built, so developers connect proven integrations instead of writing plumbing for every API.
With a function, the model never touches the external system. Developers describe the available functions — their names, purposes, and parameters — and when the model judges that one is needed, it outputs a structured request: call this function with these arguments. Your application receives that request, decides whether and how to honor it, executes it in your own environment, and returns the result. Execution happens on the client side, under your code, your credentials, and your rules.
The business logic of the choice is control versus convenience. Extensions minimize engineering: the platform handles the call end to end, which suits low-risk, read-style interactions like looking up public information. Functions maximize governance: because your application sits between the model's intent and the real action, you can validate inputs, enforce approval steps, and keep credentials entirely out of the model's reach — the right posture for consequential actions such as placing orders, moving money, or changing customer records. When a scenario stresses that the company must control or review what the agent does before it happens, functions are the answer.
Data stores: grounding agents in your information
Data stores connect an agent to your organization's information — documents, website content, knowledge bases, and structured data — so its answers are grounded in what your business actually knows rather than in the model's general training data. When a user asks a question, the agent retrieves the most relevant content from its data stores and uses it to compose the answer, typically with references to the sources. This is retrieval-augmented generation applied to agents: the same grounding technique, packaged as an agent tool.
The decisive business property is freshness without retraining. When the returns policy changes, you update the document; the agent answers correctly from that moment on. No model retraining, no redeployment, no lag between what the business decides and what the agent says. Data stores also shrink hallucination risk, because the agent is drawing from real company sources instead of improvising from general knowledge.
The alternatives fail for facts that change often. Tuning bakes knowledge into the model at training time, so however often you repeat it, the model always lags the latest change — and tuning teaches style and behaviour better than it stores facts. Pasting content into the prompt (system instructions or few-shot examples) means someone must re-edit it by hand every time a fact changes, and a prompt cannot hold a large corpus such as thousands of manuals. The scalable pattern is to keep that corpus in Cloud Storage (or a website or database) and connect it to the agent through a data store, which retrieves only the passages each question needs.
A concrete example: a bank deploys a mortgage assistant grounded in data stores holding its current product sheets, rate documents, and eligibility rules. Customers get accurate, cited answers about the bank's actual offerings — not a plausible industry-average answer — and when rates change, the fix is a document update, not an engineering project. On the exam, scenarios about answering from company documents, keeping answers current, or citing sources point to data stores.
Plugins: extending agents into other applications
Plugins connect an agent to outside applications and services, extending what it can do by plugging external capabilities into its toolkit. Where a data store gives the agent knowledge and a function gives it a governed action, a plugin gives it entry into another application's world — a storefront, a scheduling system, a payments service, or a third-party product the business already uses.
The practical effect is that agents can meet users inside existing workflows rather than forcing new ones. A customer support agent with a plugin into the order management application does not just explain how cancellations work; it opens the cancellation in the system the operations team already runs. For the business, plugins are the reuse story: capabilities the organization has already bought or built become moves the agent can make, without rebuilding them.
Keep the boundaries crisp for the exam. Extensions are standardized bridges to external APIs, executed by the platform. Functions are actions your own application executes under its own control. Data stores supply grounded knowledge. Plugins extend the agent into external applications and services. Questions test these one-line distinctions far more often than any implementation detail.
Google Cloud services that power agent tooling
Agent tools need infrastructure behind them, and a handful of Google Cloud services appear again and again as the backing for agent tooling. You need to recognize each service's role, not configure it.
Cloud Storage holds files and unstructured content — the manuals, policies, and reports that feed an agent's data stores, and any files an agent's work produces. Databases hold the structured, live records agents look up and update: customer profiles, orders, bookings, inventory. When an agent checks an order status through a function call, a database answers.
Cloud Functions runs small pieces of event-driven logic without any server to manage — a natural home for the code behind a function call, such as validating a request and writing it to a database. (Google now also offers it under the name Cloud Run functions; the exam guide keeps the name Cloud Functions.) Cloud Run runs containerized applications and APIs, fitting heavier services an agent calls: an internal pricing engine, a document generator, an integration layer in front of older systems. And Agent Platform is where the agent itself is built, grounded, deployed, and managed — the place the tools are attached and governed.
The serverless options differ in what you deploy and how it runs:
| Option | What you deploy | How it runs | Fits |
|---|---|---|---|
| Cloud Functions (Cloud Run functions) | A single-purpose function as source code; the platform builds it | Once per request or event, scaling automatically | The small piece of logic behind one tool call |
| Cloud Run service | A container image — an existing containerized service runs as-is | Serves requests continuously at an endpoint, scaling with traffic | A fuller API or service the agent calls |
| Cloud Run job | A container image | Runs a task to completion, then stops; it does not serve each request | Batch work such as a nightly re-index, not a live tool call |
The Google Cloud API Library is the catalogue in the Google Cloud console where you discover Google APIs (Translation, Document AI, Vision, Maps and many more) and enable them for a project — enabling an API is the step before an agent's tool can call it. Keep it apart from two similarly named catalogues: Model Garden is where you discover, compare, and deploy models, and Agent Garden offers sample agents and tools to start building from. APIs, models, and agent samples: three different libraries.
The exam pattern is role recognition: files and documents point to Cloud Storage, live structured records to databases, lightweight event-driven logic to Cloud Functions, containerized services to Cloud Run, and the agent's own lifecycle to Agent Platform; finding and switching on a Google API points to the API Library.
Pre-built AI APIs: ready-made senses for agents
Pre-built AI APIs are trained, ready-to-call services for common AI tasks — no training data, no model building, and no ML expertise required — and as agent tools they act as the agent's senses and voice, letting it work with speech, images, video, and documents rather than text alone.
| Pre-built AI API | What it does | As an agent tool |
|---|---|---|
| Speech-to-Text | Converts spoken audio into text | Lets customers talk to a phone or voice agent naturally |
| Text-to-Speech | Converts text into natural-sounding speech | Lets the agent speak its answers back |
| Translation | Detects the source language of text and translates it between languages | One agent serves customers in many languages, translating messages in and replies out |
| Document Translation | A feature of Cloud Translation (Advanced edition) that translates whole files (such as PDF, Word, or slides) while preserving their layout and formatting | An agent returns a translated contract or manual that still looks like the original |
| Document AI | Extracts structured data from documents and forms | An agent reads invoices, claims, and IDs instead of asking users to retype them |
| Cloud Vision | Analyzes still images: labels, objects, faces, and text (OCR) | An agent understands a photo a customer uploads |
| Video Intelligence | Analyzes video over time: detects shot changes, tracks objects across frames, and reads on-screen text | An agent searches or summarizes video footage |
| Natural Language | Analyzes text for sentiment, entities, and syntax | An agent gauges customer frustration and routes urgent cases |
Three pairs are easy to confuse. Translation versus Document Translation: text in and text out, versus a whole document translated with its layout kept — both come from the same Cloud Translation service, so the choice is about the input, not a different product. Cloud Vision versus Document AI: Vision's OCR returns the raw text it finds on a scanned page, whereas Document AI understands the form and returns labelled, structured fields — name, amount, date — ready to write to a system. Cloud Vision versus Video Intelligence: Vision treats each image in isolation, so running it on frames sampled from a video tells you nothing about what happens between them; Video Intelligence analyzes the footage as a sequence, detecting where shots change and following an object from frame to frame. Natural Language is different again: it analyzes free text for sentiment and entities rather than extracting fields from a form.
Picture an insurance claims agent handling a phone call: Speech-to-Text transcribes the caller, Natural Language detects distress and prioritizes the case, Document AI extracts fields from the photographed claim form, Cloud Vision labels the uploaded photos and reads text in them such as a registration plate, Translation serves a caller in another language, and Text-to-Speech reads the confirmation back. Each capability is a ready-made API — assembled, not built.
That is the business case, and it is clearest against the alternatives. Training a custom model (for example with AutoML) or tuning a foundation model both need labelled examples and ML effort before anything works; a pre-built API needs neither and delivers a proven capability through a single API call. The trade-off is customization: a pre-built API does the general task well, but a non-standard need — such as judging the severity of vehicle damage from a photo — is beyond the generic Vision labels and calls for a custom-trained model.
Agent Studio versus Google AI Studio
Agent Studio and Google AI Studio serve different jobs: Agent Studio is for building and running production gen AI agents on enterprise foundations, while Google AI Studio is a lightweight, web-based environment for quickly prototyping and experimenting with Gemini models. The exam tests whether you can pick the right one from a scenario.
| Dimension | Agent Studio | Google AI Studio |
|---|---|---|
| Primary job | Build, ground, and deploy production gen AI agents | Prototype prompts and explore Gemini model capabilities |
| Typical user | Enterprise teams shipping agents to employees or customers | Developers experimenting and validating ideas |
| Grounding in company data | Yes — connects to data stores and enterprise tools | Not the focus; it works with the model directly |
| Governance and scale | Enterprise security, access controls, and production management | Lightweight; built for individual exploration |
| Path to production | Is the production path, within Agent Platform | Hands off to developer tooling and the platform once an idea proves out |
The two are stages of one journey, not rivals. A developer might spend an afternoon in Google AI Studio proving that Gemini can draft compliant policy summaries from sample text — fast, free-form, no setup. When the company decides to turn that idea into a grounded assistant for two thousand employees, the work moves to Agent Studio, where data stores, tools, security, and deployment live. Scenario cue words resolve the question: experiment, prototype, try out a model point to Google AI Studio; production, grounded in company data, governed, at scale point to Agent Studio.
Tip. This objective is tested through one-line distinctions: extensions (platform calls external APIs), functions (your application executes the model's requested action), data stores (grounded, current, cited answers from company data, versus tuning or prompt-pasted content), and plugins (connections into outside applications). Expect to match a business need to the pre-built AI API that serves it — knowing what each API returns (translated text or a translated document, raw OCR text or structured form fields, per-image labels or analysis across video frames) — and to recognize the role of Cloud Storage, databases, Cloud Functions, Cloud Run, and the API Library alongside Model Garden and Agent Garden. The Agent Studio versus Google AI Studio choice appears as a scenario: prototyping points to Google AI Studio, grounded and governed production agents to Agent Studio.
- Tools are the agent's connection to the external environment — without them a model can only generate text from frozen training data; with them an agent can retrieve live information and complete tasks.
- Extensions are standardized bridges to external APIs, executed by the agent platform on the agent's behalf.
- Functions keep execution on your side: the model outputs which function to call and with what arguments, but your application validates and runs the action — the governed choice for consequential operations.
- Data stores ground an agent in company documents and data, delivering current, cited answers that stay accurate through content updates — tuning always lags the latest change, and prompt-pasted content must be re-edited by hand and cannot hold a large corpus.
- Plugins extend an agent into outside applications and services, reusing capabilities the business already has.
- Cloud Storage backs files and documents, databases back live records, Cloud Functions (now also called Cloud Run functions) runs a single function from source per request or event, Cloud Run hosts containerized services, and Agent Platform is where agents are built and governed.
- The Google Cloud API Library is where you discover and enable Google APIs for a project; Model Garden is for models and Agent Garden for sample agents.
- Pre-built AI APIs — Speech-to-Text, Text-to-Speech, Translation, Document Translation, Document AI, Cloud Vision, Video Intelligence, Natural Language — give agents proven abilities with no training data or ML expertise; the trade-off is limited customization.
- Vision OCR returns raw text while Document AI returns structured form fields; Vision sees each image alone while Video Intelligence follows shots and objects over time.
- Google AI Studio is for quick prototyping with Gemini models; Agent Studio is for building grounded, governed, production gen AI agents.
Frequently asked questions
Why do gen AI agents need tools at all?
A foundation model on its own can only generate text from its training data, which is frozen at a cutoff date and contains none of your private business information. It also cannot take actions. Tools connect the agent to the external environment: data stores supply current company knowledge, extensions and plugins reach external APIs and applications, and functions let it request actions your systems carry out. Tools are what turn a model that describes work into an agent that does it.
What is the difference between an extension and a function in agent tooling?
The difference is where execution happens. With an extension, the agent platform calls the external API directly on the agent's behalf — convenient and standardized, suited to low-risk lookups. With a function, the model only outputs a structured request naming the function and its arguments; your own application executes the call on the client side, under your credentials and rules. Choose functions when the business must control, validate, or approve what the agent does — such as placing orders or changing customer records.
What do data stores do for a gen AI agent?
Data stores connect an agent to your organization's documents, website content, and structured data so its answers are grounded in real company information, usually with source references. This is retrieval-augmented generation packaged as an agent tool. The key business benefit is freshness without retraining: update the underlying document and the agent answers correctly immediately, while grounding in real sources also reduces hallucination risk.
When should I use Agent Studio instead of Google AI Studio?
Use Google AI Studio to prototype: it is a lightweight, web-based environment for experimenting with Gemini models and validating an idea quickly. Use Agent Studio when you are building for production: it is where agents are grounded in company data stores, connected to tools, secured with enterprise controls, and deployed at scale as part of Agent Platform. In short, prototype in Google AI Studio, productionize in Agent Studio.
Which pre-built AI APIs matter for agent tooling on the exam?
Know each API by its one-line job: Speech-to-Text transcribes audio, Text-to-Speech generates spoken output, Translation translates text, Document Translation translates whole files while keeping their layout, Document AI extracts structured fields from documents and forms, Cloud Vision analyzes still images (including raw OCR text), Video Intelligence analyzes video over time, and Natural Language analyzes text for sentiment and entities. Questions describe a capability — such as pulling the amount and date from uploaded invoices — and expect you to name the matching API, in that case Document AI.
How do Google Cloud services like Cloud Functions and Cloud Run relate to agents?
They host the machinery behind the agent's tools. Cloud Functions, now also offered as Cloud Run functions, deploys a single-purpose function from source code and runs it per request or event — a natural fit for the code behind a function call. A Cloud Run service runs a container image, so an existing containerized API can run as-is, while a Cloud Run job runs a task to completion rather than serving requests. Cloud Storage holds the documents feeding data stores, databases hold live business records, and Agent Platform is where the agent itself is built, deployed, and governed.
What is the Google Cloud API Library?
The Google Cloud API Library is the catalogue in the Google Cloud console for discovering Google APIs — such as Translation, Document AI, or Cloud Vision — and enabling them for a project, which must happen before an agent tool can call them. It is distinct from Model Garden, where you discover and deploy models, and from Agent Garden, which provides sample agents and tools to start building from.
Source
This lesson covers the "Google Cloud's gen AI offerings" domain of the official GenAI Leader exam guide. Vendors revise their guides — check the source for the current version.
- Google Cloud Generative AI Leader exam guide — Google Cloud
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.