Google adds Tool Retrieval to the Gemini API in preview

By Infinithink Studio · November 20, 2026

Google has launched Tool Retrieval in preview in the Gemini Interactions API, so agents load tool schemas only when a task needs them. According to Google, the aim is to reduce input tokens and latency as tool libraries grow.

Google has introduced Tool Retrieval in the Gemini API, a feature that lets an AI agent load the parameter schemas of its tools only when a task needs them. According to Google, the feature is available in preview in the Gemini Interactions API.

What happened

On 19 November 2026, Google announced Tool Retrieval in the Gemini API. In its announcement, the company says that when an agent is connected to dozens or even hundreds of tools, sending every full parameter schema with every request inflates input token counts, adds latency and lowers tool-selection accuracy as the candidate list grows.

Google describes the mechanism as follows. A developer adds a tool_search tool to the request and sets defer_loading to true on the tools to hold back. The model still sees the name and description of every deferred tool, so it knows what is available, but the parameter schemas stay out of context. When the model needs a tool, it asks for it by name, the API loads the full schema, and the model calls the function, all within the same request.

Google also states several further details:

  • There is no index to build or host, because the search runs on Google's servers. Developers can keep their most-used tools loaded up front and defer the long tail.
  • Deferred schemas stay out of the start of the prompt, which according to Google keeps the cached prefix stable from turn to turn.
  • Setting defer_loading to true on a remote MCP server tool means every tool that server exposes is loaded on demand.
  • Teams with their own tool registry, embedding index or per-user permission filter can declare the search with client-side execution, which adds one round trip per search.
  • Tool Retrieval works with Gemini 3.6 and later models, including all Gemini 4 models, in the Interactions API.

On costs, Google says Tool Retrieval has no separate charge. Input and output tokens are billed at the standard rates of the model in use. Turning on tool_search adds a small, fixed block of input tokens, and each schema the model loads is billed as input for the rest of the conversation. Google adds that savings appear when the schemas never loaded outweigh the ones loaded, which it describes as the usual case for large libraries, and recommends measuring it against your own traffic.

Why it matters

As AI agents gain more connected tools, such as calendars, CRMs, payment systems or help desks, the list of tool definitions grows with them. Google's own description of the problem is that every definition sent on every request adds to token counts and latency, and makes the right tool harder to pick. Tool Retrieval is Google's answer for the Gemini API, and it is still a preview, so details may change.

Google does not publish figures on how much is saved in typical cases, and it invites developers to test the effect on their own workloads. For that reason, any expectation of savings should be treated as a hypothesis to verify, not as a result.

What it means for your business

Most small businesses and professionals will never configure an API parameter, and this announcement is aimed at developers. Still, it affects the tools you may use or commission. This suggests that agents connected to many business systems, from email to accounting to e-commerce, may become easier to build and run, provided the provider adopts the feature.

It is reasonable to expect that agencies and software partners building assistants for clients will be the first to evaluate it. For a company that buys such a service, a useful question is how many tools the assistant connects to and how the provider handles cost and accuracy as that number grows. The answer will not come from this announcement, which describes a preview feature and gives no case studies.

It is also worth keeping a sense of proportion. The feature concerns how an agent finds its tools, not what the agent is allowed to do. Permissions, data protection and human review of important actions remain decisions for the business, and they are not covered by Google's announcement.

What to do now

  • If you use or plan to use an AI agent, list the tools and systems it would connect to, and separate the ones used daily from the ones used rarely.
  • Ask your technology provider whether they are testing Tool Retrieval or similar approaches, and how they measure token usage before and after.
  • Do not change a working setup because of a preview. Wait for the documentation to mature and test on a small, low-risk workflow first.
  • Keep decisions on permissions and approvals with your team, whatever the technology underneath.

To get a clearer picture of what agents are and where they fit, read our guide What are AI agents. If you want to see how Infinithink can support the everyday writing and content work of a small business, take a look at the solutions for small business.

Sources

For information only, this is not legal or professional advice. Information is current as of the publication date and may change. Official sources checked on November 20, 2026.

Written by

Infinithink Studio