Gemini API adds mid-conversation instructions and tool updates while preserving prompt cache
Google announced that developers can update system instructions and tools during an ongoing conversation in the Gemini API without losing their prompt cache. The announcement was published on Google's official blog on 2026-12-03.

Why it matters
Applications that change instructions or available tools partway through a session can keep cached prompt context instead of rebuilding it, which may reduce repeated input processing for long conversations.
Who should care
Developers building chatbots, AI agents, customer support tools, and other Gemini API applications with multi-turn conversations.
What you can do
Review your Gemini API integration to identify places where system instructions or tool lists change mid-session, and test whether updating them in place preserves your prompt cache as described.