Google Adds Mid-Conversation System Instruction and Tool Updates to Gemini API, Keeping Cached Tokens Valid
Google introduced a public preview on December 3, 2026 that lets Gemini API developers update system instructions and function tools mid-conversation without invalidating cached prompt tokens. The capability runs through the Interactions API and targets agents whose rules and permissions change during a session.
Google introduced a public preview on December 3, 2026 that lets Gemini API developers update system instructions and function tools mid-conversation without invalidating cached prompt tokens. The capability runs through the Interactions API.
What changed
The feature adds system-level controls for agents whose rules and permissions change during a session. Long-running agents can span dozens or hundreds of turns, and during that time spending limits, account permissions and available functions may change.
The update covers two elements:
- System instructions: can be updated mid-conversation.
- Function tools: can be changed mid-conversation.
In both cases, the cached prompt tokens remain valid.
Availability
The capability is in public preview as of December 3, 2026, and is accessed through the Interactions API in the Gemini API. Pricing, supported models and rate limits were not stated in the feed summary available at publication. The original report comes from Unite.AI.
What this means
For agent builders, changing instructions or tools during a session has been in tension with prompt caching, because the cached prefix is tied to the content that precedes new turns. According to the report, this preview removes that conflict: developers can adjust rules, permissions and available functions as a session evolves while the cache stays valid.
The use cases the report names are agents with changing spending limits, account permissions and function availability across dozens or hundreds of turns. These are the sessions where reusing cached tokens matters most, since the conversation history is long.
Because the feature is a public preview, developers should expect behavior to be subject to change before general availability.
Related Articles
Google releases MedGemma 2, open health model built on Gemma 4, in 26B MoE and E4B sizes
Google released MedGemma 2 on December 3, 2026, an open model for health AI developers built on Gemma 4. It comes in a 26B mixture-of-experts size that activates 4B parameters at inference and an E4B size for on-device, offline use.
Google Labs announces Pillowfort, a Gemini 4-powered web tool for building and publishing 2D and 3D games
Google announced Pillowfort, an experimental Google Labs web tool for building and publishing 2D and 3D games with AI. It is powered by Google's Gemini 4 model family. Ustwo, the Monument Valley developer, and Plai are among the studios that have used it.
Google ends Gemini 4 Argon support: API calls redirect to Gemini 4 Carbon from Dec. 15
Google will end support for Gemini 4 Argon, and from December 15 (U.S. local time) API requests naming the model will redirect to Gemini 4 Carbon at the same price. Google recommends specifying Gemini 4 Neon for faster responses.
Fireworks AI moves Ultra-fast DeepSeek V4.1 Flash 1017 to general availability at 1,200+ tokens per second
Fireworks AI announced on December 2, 2026 that Ultra-fast for DeepSeek V4.1 Flash 1017 has moved from preview to general availability. The company says it streams more than 1,200 tokens per second on the same model weights, at nearly five times the speed of its standard endpoint.
Comments
Loading...