Your AI agent carries every tool. You pay for the baggage

The customer call has ended, the next email is waiting, and your AI agent needs to put an appointment in the diary. Behind the scenes, dozens of tool descriptions may be on hand, from the CRM to invoice checks. The more the model has to consider at once, the more input tokens it uses. Google says a long list can also make it harder to choose the right tool. Does your AI really need to keep every option in view all the time? A new feature tackles exactly that problem. What it saves, and what still stays in context, is the more important question for businesses.
Context is working memory, not an archive
It is Monday morning. An order is stuck in the inbox, two details are missing from the CRM, and your agent needs to work out what to do next. The context window is the language model’s working memory: it covers what the model can take into account at the same time when it responds. The more information it contains, the more the model has to process for that request.
That does not just mean old messages and documents. An agent’s context also includes descriptions of the tools it is allowed to use. A tool schema tells the model what information a function needs, such as a customer number or an appointment time. Include lots of these descriptions with every request and the context grows, even if the agent does not need most of those tools.
A large context window can sound like a spacious office where everything fits. The real question is whether the agent can find the right information at the right moment. According to THE DECODER, Nvidia researchers argue that very large context windows are often oversized and expensive. In many tests, regular summaries and targeted look-ups reportedly worked about as well. What if the same principle could apply to an agent’s tools?
Google loads schemas only when needed
Google’s Tool Retrieval feature focuses on the list of tools. According to the company, it is available in preview in the Gemini Interactions API. Instead of putting every complete parameter schema into each request, an application can add a `tool_search` tool and hold back functions that are rarely needed.
There is an important distinction here. The model can still see the name and description of every tool that has been held back, so it knows what is available. The detailed parameters explaining exactly how to call a tool stay out of context for the time being.
If the model needs one of these tools, it requests it by name. The API then loads the relevant schema, and the model can call the function within the same request, Google says. The search runs server-side. According to Google, there is no need to create or host a separate index. For developers, that means rare tools can be kept out of the initial prompt without hiding their existence from the model.
Fewer tokens are possible, not guaranteed
The financial appeal is obvious, but there is a catch. Google does not charge a separate fee for Tool Retrieval. Input and output tokens are still billed at the usual rates for the model you use. Tokens are the small units into which a model breaks down text for processing. Fewer input tokens can therefore reduce costs if less schema text is actually sent.
According to Google, the search function itself adds a small, fixed block of input tokens. Any schema the model loads is also billed as input for the rest of the conversation, just like a tool declared at the start. The benefit only comes when the schemas left unloaded would have used more tokens than the ones that are loaded.
Google says that is usually the case with large tool libraries. That is the provider’s assessment, not a guarantee for your particular workflow. If your agent uses the same few tools in almost every conversation, the savings may look different from those for a system with many rarely used functions. Measure actual usage rather than relying on the size of your tool list.
A long tool list can make selection worse
The benefit is not just a smaller bill. Google says that for agents with dozens or hundreds of tools, long lists of complete tool schemas can increase input token use, add latency and reduce the accuracy of tool selection. Latency simply means how long it takes for the response to arrive.
Take an agent that handles customer enquiries. It may need to look up customer details for one request, book a call-back for another or check an invoice for a third. If all the full descriptions are always in the prompt, they compete for attention even when a request calls for just one action.
Tool Retrieval can make selection more focused by letting the model request a detailed description only when it needs one. That needs to be tested in practice. Does the agent find the right tool, pass in the right details and respond quickly enough? A smaller prompt does not prove that a workflow is better. A wrong action is still wrong, even if it costs fewer tokens.
Retrieval will not solve every context problem
Here is the boundary that can easily get blurred in day-to-day use: Tool Retrieval searches for tool descriptions. It is not a general feature that automatically removes past emails, contract documents or company knowledge from context and finds them again later when needed.
If your agent needs the latest conversation or a contract clause to answer, you still need to decide how that information will be made available. The approach is similar to looking something up rather than sending everything at once, but the feature Google describes applies to tool schemas. Documents and conversation histories are different data sources and need a suitable retrieval method.
There are technical requirements too. Google lists Gemini 3.6 and later models, including all Gemini 4 models, as compatible with the Interactions API. With client-side search, Google says each search adds an extra round trip, meaning another exchange between the application and the model. The server-side option is designed to avoid that detour. The effect on your process depends on where the search takes place.
What this means for your business
Start with a specific task, not your entire AI strategy. Take the agent that sorts incoming enquiries or prepares appointments. Ask to see which tool schemas are sent with every request and which ones are actually used day to day.
Then group the tools by how often they are used. According to Google, frequently used functions can stay preloaded, while rare ones are held back. Run a test over a set period using the same typical tasks, then compare token use, response time and whether the right function was selected. Google specifically recommends measuring the savings against your own traffic.
Pay attention to how the handover works for your team, too. When an agent calls a function, staff need to be able to understand what it is allowed to do and which details it uses. Customer service teams need a clear rule for when a call-back can be booked. People checking invoices should be able to tell when the agent is only retrieving data and when it is actually triggering a task.
Next Monday, the test could look like this: a customer enquiry comes in, the agent knows which tools are available but loads only the detail it needs. Your team then checks whether it chose the right next step. That straightforward check will tell you more than a debate about ever larger context windows.
Frequently asked questions
What is Tool Retrieval in AI agents?
Tool Retrieval loads the detailed descriptions of tools into an AI agent’s context only when it needs them. With Google’s feature, the model can still see the names and descriptions of available tools at first. The parameter schemas that explain exactly how to call them are held back and loaded when required.
Does Tool Retrieval automatically save money?
No. Google does not charge a separate fee for Tool Retrieval, but the usual costs for input and output tokens still apply. The feature itself adds a small, fixed block of input tokens. According to Google, a benefit arises when the schemas left unloaded would use more tokens than the ones loaded. Businesses should compare usage against their own requests.
Is Tool Retrieval the same as an AI knowledge base?
No. Google’s feature retrieves tool schemas. These tell the model how to call tools such as a search or an appointment function. A knowledge base provides content such as documents or company information. Both approaches can make information available when needed, but they solve different problems.
Which models support Google Tool Retrieval?
Google lists Gemini 3.6 and later models, including all Gemini 4 models, as compatible with the Interactions API. According to Google, the feature is available in preview. Check the latest API requirements before making a technical decision, and test whether it fits your existing agent workflow.
What should a business test before using Tool Retrieval?
Check which tools are used often and which are rarely needed. For typical tasks, compare token use and response time, and check whether the agent selects the right function. Include the staff who review results or carry out follow-up steps. According to Google, the savings depend on actual request traffic and which schemas are loaded.
Interested?
Want to know what this means for your company?
Sources
- Nvidia researchers argue huge AI context windows are a dead end · the-decoder.com, 2026-11-21
- Introducing Tool Retrieval in the Gemini API · blog.google, 2026-11-19
This article was researched and written with AI assistance and automatically checked against the sources listed before publication. More on our AI transparency
Free guide · PDF
The AI Compass for small and mid-sized businesses
9 jobs your team can hand over by Monday.
Get it free
Klarframe AI Readiness Check
How ready is your company for AI?
About ten minutes, instant result with your stage, a 90-day plan, suitable solutions and notes on the EU AI Act.


