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 AI, and Cloud Vision. 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
- Identify the Google Cloud services that commonly support agent tooling, including Cloud Storage, databases, Cloud Functions, and Cloud Run
- Match pre-built AI APIs such as Speech-to-Text, Translation, Document AI, and Cloud Vision to agent capabilities
- 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.
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. 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. Google Cloud's broader API library rounds this out: any capability exposed as an API can, in principle, become a tool.
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.
Pre-built AI APIs: ready-made senses for agents
Pre-built AI APIs are trained, ready-to-call services for common AI tasks — no model building 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 | Translates text between languages, including full documents | One agent serves customers in many languages |
| 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 images: objects, text, labels, faces | An agent understands a photo a customer uploads |
| Video Intelligence | Analyzes video content and detects scenes, objects, and 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 |
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 assesses the damage photos, 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 assembly-over-building economics is the business value the exam wants you to articulate.
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), and plugins (connections into outside applications). Expect capability-to-API matching questions — a described task such as transcribing calls or reading invoices maps to Speech-to-Text or Document AI. The Agent Studio versus Google AI Studio choice appears as a scenario: prototyping and experimentation point to Google AI Studio, while grounded, governed, production agents point 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, with no retraining.
- 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 runs lightweight action logic, Cloud Run hosts containerized services, and Agent Platform is where agents are built and governed.
- Pre-built AI APIs — Speech-to-Text, Text-to-Speech, Translation, Document AI, Cloud Vision, Video Intelligence, Natural Language — give agents ready-made abilities with speech, language, images, video, and documents.
- 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 handles multilingual text and documents, Document AI extracts structured data from documents and forms, Cloud Vision analyzes images, Video Intelligence analyzes video, and Natural Language analyzes text for sentiment and entities. Exam questions describe a capability — such as reading 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 runs small, event-driven pieces of logic — a natural fit for the code that executes a function call, like validating a request and updating a database. Cloud Run hosts containerized services and APIs the agent calls for heavier work, such as an internal pricing engine. 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.
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.