Google puts Gemini API mid-conversation instructions into public preview: change an agent's rules and tools without busting the prompt cache
Google announced on December 3 a public preview of mid-conversation system instructions and tool updates for the Gemini API's Interactions API (v1beta), across the Gemini 4 models — Hydrogen, Neon and Carbon. A new system_input step, placed directly before the user message in a turn, carries the same authority as the top-level system instruction and takes precedence over user turns.
The practical point is cost. Editing the top-level instruction or tool list normally changes the prompt prefix and invalidates the cache, forcing full-price reprocessing; with system_input, earlier turns stay cached while new instructions and added_tools/removed_tools changes apply from that turn on. The new tokens bill at standard input rates, with no separate fee.
The limits are preview-grade: one system_input step per turn, custom function tools only (MCP server tools and built-in tools are not supported for mid-conversation updates), and removed tools must stay in the original top-level tools list or later turns fail with HTTP 400. Google also warns the step steers the model but is not a security boundary — backends must still authorize every function call.