Oossa

Google adds tool retrieval preview to Gemini Interactions API

Developers can now load tool schemas on demand, cutting token usage and latency for agents that use many functions.

NoteBy Published by Oossa: 1 min read

Google announced that tool retrieval is now in preview for the Gemini Interactions API. The feature lets an agent keep a large library of functions but only send a tool’s full parameter schema when the model actually needs it. Developers enable it by adding a tool_search entry and setting defer_loading: true on the functions they want to delay. The model still sees each tool’s name and description, so it can pick the right one before the API fetches the schema in the same request.

Why it matters

This reduces token costs and response time for developers building agents that integrate dozens or hundreds of tools.

Was this article useful?
Share

Read next

Oossa · Newsletter

The week in AI, explained

Every Monday: the stories worth knowing, in plain language. Free, no spam.