Gemini API previews mid-conversation system instruction and tool updates: a system_input step adds rules while earlier turns stay cached
Long-running agents can change rules and add or remove tools mid-session without reprocessing and repaying for the whole conversation.
// Key points
- Available in preview through the Interactions API: a system_input step placed before user_input at any turn carries the same authority as the top-level system instruction and outranks user messages
- Tools change via added_tools and removed_tools while the top-level tools list stays fixed to keep the cache valid; removals are processed before additions, and only function tools are supported, not MCP server tools
- No separate fee: system_input tokens are billed at standard input rates and earlier turns stay eligible for cached rates; the preview covers all Gemini 4 models
- Google notes these are orchestration controls: the backend should still authorize every function call, and untrusted content should stay out of system_input
Builder's takeThis fixes the most awkward part of multi-turn agents: write actions should unlock only after login or approval, and until now that meant stuffing rules into a user message or paying to reprocess everything. Long sessions like AI Interview can switch tools by stage, but keep the real permission check on the backend; a model not calling a tool is not the same as being safe.
// Background · from #Google
Full timeline →- Dec 4 Google releases open health model MedGemma 2: built on Gemma 4, native medical tool calling, in 26B MoE and E4B sizes
- Nov 27 Google Research open-sources a social reasoning evaluation: multi-agent simulations with hidden motives test whether 12 models can infer someone's real intent from the user's account alone, with a dataset of over 20K examples
- Nov 26 Google DeepMind releases Mass Spec Skills for Antigravity: on 100 mass spectra, three Gemini models identify the exact molecule about 97% of the time, with the lightweight Gemini 3.8 Flash matching frontier models