NEWS · CODING · #3925
Google adds Tool Retrieval preview to Gemini Interactions API
Tool Retrieval is now available in preview in the Gemini Interactions API, allowing agents to keep large tool libraries declared but load full tool parameter schemas on demand by adding a tool_search and setting defer_loading: true. The feature (works with Gemini 3.6+ including Gemini 4) runs server-side search by default, supports client-side retrieval and remote MCP servers, and aims to reduce input tokens, latency, and tool-selection errors without a separate charge (standard token billing applies).
KEY POINTS
- Tool Retrieval is now available in preview in the Gemini Interactions API, allowing agents to keep large tool libraries declared but load full tool parameter schemas on demand by adding a tool_search and setting defer_loading: true.
- The feature (works with Gemini 3.6+ including Gemini 4) runs server-side search by default, supports client-side retrieval and remote MCP servers, and aims to reduce input tokens, latency, and tool-selection errors without a separate charge (standard token billing applies).
- This reduces token costs, latency, and tool-selection errors for agents that connect to dozens or hundreds of tools, making large-scale tool-based agents more efficient and practical.
WHY IT MATTERS
This reduces token costs, latency, and tool-selection errors for agents that connect to dozens or hundreds of tools, making large-scale tool-based agents more efficient and practical.