Skip to content
NewA calmer, faster ZeroHour

Gemini API preview lets mid-chat instructions update rules and tools

1 source · 2 articlesFirst reported Updated ()
What's new

First merged summary.

Merged summary · x-ai/grok-4.7 · rewritten as coverage arrivesSummaries by Vani AI

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.

Key facts
  • 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.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

Timeline

dated events in the reporting · oldest first
  1. 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.

Coverage

oldest first · one row per article · UTC
  1. · 17h ago Google · AIFirst report

    Gemini API adds mid-conversation instruction and tool updates

    A system_input step can change rules or function tools without invalidating the prompt cache.

  2. · 17h ago Google · AI

    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.