Google launched a preview of mid-conversation system instruction and tool updates for the Gemini API via the Interactions API on December 3, 2026. Developers can now adapt agents mid-session without invalidating the prompt cache.
What Changed in the Gemini API
Google announced that mid-conversation system instruction and tool changes are available in preview in the Gemini API through the Interactions API. Trey Nguyen, product manager for the Gemini API, and Daniel Kyme, product manager for Google Cloud, detailed the update on December 3, 2026. The feature lets agents adapt to new rules and tools mid-session without re-reading the entire conversation.
Previously, rewriting system instructions or changing tools invalidated the prompt cache, requiring the model to reprocess the entire conversation history. The new method allows developers to send a system_input step at any turn with instruction or tool changes while keeping earlier turns cached.
How Tool Updates and Pricing Work
Developers can use added_tools and removed_tools to update function tools as a session evolves, though MCP server tools are not currently supported. The API processes removed_tools before added_tools when both are included in a single step.
Mid-conversation system instructions carry no separate fee, and tokens in system_input steps are billed at standard input token rates. The feature is available in public preview across all Gemini 4 models in the Interactions API through the v1beta endpoint.
Key facts and where they come from
- Mid-conversation system instruction and tool changes are available in preview in the Gemini API through the Interactions API.
Today, mid-conversation system instruction and tool changes are available in preview in the Gemini API through the Interactions API.
- Mid-conversation system instructions carry no separate fee.
Mid-conversation system instructions carry no separate fee.
