Understand this story
On December 3, 2026, Google launched a public preview for the Gemini API, allowing developers to update system instructions and custom function tools mid-conversation through the Interactions API while retaining cached prompt tokens from previous turns. Developers can use system_input to append new rules and dynamically adjust function tools through added_tools and removed_tools; previous instructions cannot be deleted, and newer instructions take precedence in the event of a conflict. The feature currently uses the v1beta endpoint and does not support updating MCP server tools. system_input is billed at the standard input-token rate, with no additional charge. There have been no subsequent developments.
AI-generated from public reports
Latest development · Report
Google Adds Mid-Session Instruction Updates to the Gemini API While Preserving CachingDevelopments
1 confirmed developments
Google previews mid-session instruction updates for the Gemini API
Source:Google AI Blog
Reports and discussion timeline
Browse reports and discussion by time. Their evidence levels remain distinct.
Dec 4
Unite.AI
Google Adds Mid-Session Instruction Updates to the Gemini API While Preserving Caching
Google has launched a public preview for the Gemini API that lets developers update system instructions and custom function tools mid-session through the Interactions API while preserving the cache of previously supplied prompt tokens. Updates are appended to the history as system_input entries, with newer instructions taking precedence in the event of a conflict, although older instructions cannot be deleted. The feature is available only through the v1beta Interactions API for gemini-4-carbon, gemini-4-neon, and gemini-4-hydrogen. It does not support MCP servers, built-in tools, generateContent, or agent interactions, and actual function permissions must still be authorized by the backend.
Dec 3
Google AI BlogFirst-partySelected
Gemini API Previews Mid-Session Updates to System Instructions and Tools
Google is previewing mid-session updates to system instructions and tools in the Gemini API’s Interactions API, while preserving prompt caching from previous turns after changes are made. Developers can add new rules through system_input and dynamically adjust function tools using added_tools and removed_tools; updates to MCP server tools are not currently supported. Available through the v1beta endpoint for all Gemini 4 models, the feature charges system_input at standard input token rates with no additional fees.
AI Trends