Google AI Previews Tool Retrieval in the Gemini API for Large Tool Libraries

Google launched Gemini API Tool Retrieval in preview. Agents keep a large tool library on standby and load each parameter schema only when needed, inside one Interactions API request. The post Google AI Previews Tool Retrieval in the Gemini API for Large Tool Libraries appeared first on MarkTechPost.
Google has launched Tool Retrieval in the Gemini API , now in preview in the Interactions API. Gemini API Tool Retrieval lets an agent keep a large tool library available. It does not send every parameter schema in every prompt. The model loads a schema only when a task needs that tool. For agents wired to dozens of functions or MCP servers, it targets a real cost: tool definitions. You can check the deployment options and specs here through our GPULeaderboard.com chrome extension . TL;DR Tool: An API feature with no stated tool cap. Google advises static loading under 20 stable tools. Runs on: Google’s servers (server-side search) or your own registry (client-side). Interactions API, v1beta only. Performance: Search, schema load and function call resolve in 1 API request in server mode. Best: 0 extra round trips and no index to host for server-side retrieval. What is Gemini API Tool Retrieval? Tool Retrieval is a Gemini API feature that defers tool parameter schemas until the model asks for them. Google’s documentation states the problem plainly. A few dozen function declarations can consume tens of thousands of tokens on every request. With deferral, the model sees only each tool’s name and a short description. It does not see the parameter schema until retrieval. How does defer_loading work in the Gemini Interactions API? You add {"type": "tool_search"} to the tools array. Then you set defer_loading: true on each function to hold back. The @googledevs launch post shows a deferred issue_refund function on gemini-4-hydrogen . Its code comment mentions 50+ other deferred functions. When the model needs a deferred tool, the response contains 3 steps: tool_search_call : the model requests a tool by name. tool_search_result : the API returns the full schema. function_call : the model emits the call your code executes. The API resolves the first 2 steps itself. Your app only runs the function_call and returns a function_result . Deferred functions can
Verified Source Intelligence
MarkTechPost
Google AI Previews Tool Retrieval in the Gemini API for Large Tool Libraries
Read on MarkTechPost