Gemini Tool Retrieval lets a developer defer function schemas and have the model search for the relevant tools. The November 19 capability is in preview on the v1beta Interactions API; generateContent doesn't support it. Server-side retrieval can return a function call inside one request, while application code still executes the local function and returns its result.

Each search also triggers an extra model call containing the full context plus loaded schemas. Its prompt tokens appear in total_tool_use_tokens and are billed at the input rate. Deferred-tool lists, instructions and loaded schemas also incur input billing. A long-running conversation can thus be reread to find the small schema omitted at the start.

My evaluation would segment cost by conversation depth and search frequency, alongside tool count. A brief request selecting among hundreds of tools and a long agent session selecting among twenty may have different economics. Google recommends measuring actual traffic; this documentation doesn't establish a universal saving. Mechanism and pricing.