From the source
From the source
From the source
From the source
The Interactions API can now search your tool library and load function schemas on demand, so large tool sets no longer have to be sent in full on every request. Mark tools with defer_loading: true and add a {"type": "tool_search"} tool to let Gemini retrieve schemas for you, or set execution: "client" to run your own retrieval logic.
Remote MCP servers support defer_loading as well. Tool Retrieval works with Gemini 3.6 and later models, including all Gemini 4 models, in the Interactions API. See the Tool retrieval guide.
ai.google.dev