TECHNOLOGY

When does Gemini Tool Retrieval save tokens across a conversation?

In this article
THE QUICK TAKE

Defer rare, large schemas only after checking total usage, turn latency and successful tool selection.

On November 19, 2026, Google announced Tool Retrieval in preview for the Gemini Interactions API. With server-side retrieval, the model sees the names and descriptions of deferred tools before their parameter schemas are loaded. Search and schema loading can happen during the same request. Google says there is no separate retrieval charge, but the search mechanism adds input and loaded schemas are billed as input for the rest of the conversation.

Measure the full conversation

Record usage across a representative sequence rather than stopping after the first request. Compare the same assigned task with eager schemas and deferred schemas. A tool loaded on an early turn can contribute input on following turns, whereas a format never loaded is a plausible source of savings. Keep cached input separate where the API exposes it. A shorter first request does not determine the settled cost of the task.

Build fixtures from actual tool demand

Use harmless functions for tasks such as formatting a date or looking up a help article. Include a common tool, a rarely used tool with many parameters and similarly named tools with different purposes. Use descriptions that express a clear boundary between those purposes. Count cases in which retrieval chooses the intended schema and cases in which the agent continues without finding the right one. A low token count is unhelpful when an operator must repair a bad selection.

Keep the tool registry stable

Record the API version, model, catalog revision and which tools are declared up front. If a deployment uses client-side retrieval, measure that path separately because the application runs the search and adds a round trip. Instrument the search, schema returned and ensuing tool call while keeping test data free of production secrets.

Make the rollout decision per task family

Compare usage, task completion and latency for each workload. Frequent tools can remain eager when the extra search contributes little. Rare schemas can be deferred where the measured savings hold without hurting selection. Pin the tested configuration and repeat the comparison when either descriptions or the model change.

Sources

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles