Gemini API preview lets mid-chat instructions update rules and tools
First merged summary.
Google previewed Gemini Interactions API system_input steps that change rules or function tools without invalidating the prompt cache.
Google opened a preview of mid-conversation system instruction and tool changes in the Gemini API through the Interactions API. Developers pass the prior turn id and one system_input step, placed directly before user_input, while leaving the top-level system instruction and tools list unchanged so earlier tokens stay cached. The system_input has the same authority as the top-level instruction, and newer conflicting instructions take precedence. Function tools can be added or removed with added_tools and removed_tools; MCP server tools are not supported. Sample code uses gemini-4-neon, and retrieved interactions list system_input steps with user and model steps.
- Feature is in preview on the Gemini Interactions API.
- One system_input step is allowed per turn, immediately before user_input.
- Top-level system instruction and tools list must stay unchanged to keep the cache.
- added_tools and removed_tools update function tools only, not MCP server tools.
- On conflicts, the model favors the most recent system_input.
- Examples use the gemini-4-neon model.
Timeline
dated events in the reporting · oldest first- Dec 3, 2026Google previews mid-conversation system_input in Gemini API. · Google
What each outlet adds
beyond the shared facts- GoogleSpecifies cache-preserving constraints, gemini-4-neon samples, and no MCP support.
- Vendors
- Products
- Gemini APIInteractions API
- Organizations
- Google Cloud
- AI models
- gemini-4-neon
Coverage
oldest first · one row per article · UTCGemini API adds mid-conversation instruction and tool updates
A system_input step can change rules or function tools without invalidating the prompt cache.
Gemini API preview adds mid-conversation instruction updates
A system_input step can change rules or function tools without invalidating the prompt cache; MCP tools are not supported.