Gemini API adds Tool Retrieval to keep large agent tool sets lean
Key points
- Now in preview in the Gemini Interactions API, loading parameter schemas only when a task needs them.
- Set defer_loading to true and add a tool_search tool; the model still sees each deferred tool's name and description.
- Works with Gemini 3.6 and later models, including all Gemini 4 models, with no separate charge beyond standard token rates.
- Also supports remote MCP servers via mcp_server tools, and client-side search for teams with their own tool registries.
Why it matters for marketers: Teams running agents with large tool libraries can cut input tokens and latency by deferring schemas, but should measure savings against their own traffic.