🔍 Read the full analysis: Shape Ongoing Conversations With Mid-Conversation Instructions In Gemini API on ThorstenMeyerAI.com
Get the latest gadgets delivered free with Prime
- Fast, free delivery on millions of items
- Prime Video, Amazon Music and more included
- Member-only deals all year
TL;DR
Google has made mid-conversation system-instruction and function-tool updates available in preview through the Gemini API’s Interactions API. The method is designed to preserve cached earlier turns, but Google has not published independent performance measurements, and MCP server tools are not supported for updates.
Google has introduced a preview feature in the Gemini API’s Interactions API that lets developers change system instructions or supported function tools during an ongoing conversation. The method is designed to keep earlier conversation tokens cached, addressing a challenge for long-running agents whose rules, permissions, or available actions may change after a session starts.
To apply an instruction update, a developer links the new interaction to the previous one with its previous_interaction_id and places a system_input step before the next user_input. Google says this step has the authority of a top-level system instruction and takes precedence over user messages. New system_input instructions remain active for the rest of the session, alongside the original instruction; a newer instruction takes precedence when it conflicts with an earlier one.
Google advises developers to keep the top-level system instruction unchanged between turns. For tool updates, it recommends leaving the top-level tools list consistent and using added_tools and removed_tools within system_input to adjust which function tools the model can call. The preview supports updates to function tools, but not to MCP server tools.
Google’s examples show an infrastructure assistant being told to recommend read-only checks during a deployment freeze, then declining to provide a deployment command. A separate example removes a refund function and adds an escalation-ticket function. Google also says retrieved interaction records show system_input steps alongside user inputs and model outputs, which may help developers audit and debug agent traces.
Changing agent rules mid-conversation
Google’s preview lets developers update instructions and supported function tools during an ongoing conversation while keeping earlier prompt tokens cached.
What changes for developers
The Interactions API can add higher-authority instructions at a turn boundary while preserving earlier conversation tokens.
- New rules sent as user messages had less authority.
- Changing top-level instructions or tools invalidated the cache.
- Add a system_input step before the next user_input.
- Keep earlier turns cached as new instructions take effect.
How to apply an update
Link the next interaction to the previous one and keep top-level settings consistent.
Continue the conversation using previous_interaction_id.
Place it immediately before user_input; it remains active for the rest of the session.
Use added_tools and removed_tools while keeping the top-level tools list unchanged.
Preview limits
The announcement describes intended behavior, not independent performance results.
Function tools
Developers can add or remove function tools during a conversation.
MCP server tools
The preview does not support updates to MCP server tools.
Savings and rollout
Google gives no specific cost or latency savings, or schedule for leaving preview.
Changing Agent Rules Without Rebuilding Context
The feature targets a practical problem in agents that operate across extended conversations: the application may need to change what the model is permitted or expected to do after earlier turns have already accumulated. A deployment freeze might call for read-only diagnostics; a billing review might pause refunds and direct a case to escalation. In those situations, developers need a way to apply new guidance without treating it as an ordinary user request.
Google says the previous options had trade-offs. Adding a new instruction as a user message did not give it the same authority as a top-level system instruction. Changing the top-level instruction or tools list could invalidate the prompt cache and require the model to reprocess conversation history, adding cost and latency. The new method is intended to preserve earlier cached tokens while adding an instruction with system-level authority. That could simplify mid-session policy changes, although its practical value will depend on performance in real workloads.
Keeping instruction changes in the interaction record may also help teams review why an agent acted differently later in a session. This is particularly relevant when a conversation’s permitted actions change over time. However, Google’s announcement describes the intended behavior and examples; it does not provide independent measurements of cost savings, latency, or reliability.
Products Worth Considering

Jackery Explorer 2000 v2 Portable Power Station, 2042Wh, 2200W

Apple AirPods Pro 3 Wireless Earbuds with Active Noise Cancellation

Bose QuietComfort Wireless Noise-Cancelling Headphones, Sandstone
As an affiliate, we earn on qualifying purchases.
How Interactions Link Each Turn
The Interactions API connects turns using a previous_interaction_id. In Google’s described workflow, developers keep the base system instruction consistent, link the next interaction to the prior one, and add a system_input step before the new user input when a session rule changes. That instruction then remains active in later turns, rather than replacing the conversation’s earlier context.
Before this preview, developers could add guidance as a user message or revise the top-level instruction or tools list. Google says the first approach lacked the authority of a top-level instruction, while the second could invalidate the prompt cache. The announcement, dated December 3, 2026, presents system_input as a way to make mid-session updates without those trade-offs. It is a preview, not a report of independently tested production results.
“The Interactions API now allows you to send a system_input step at any turn with system instruction or tool changes.”
— Google, in its Gemini API announcement
Preview Scope and Performance Questions
Google has not said when the feature will leave preview or whether its behavior and supported tools may change. The announcement also gives no independent performance measurements or workload-specific estimates for cache retention, cost savings, or latency. The examples illustrate intended use, but do not report results from customer deployments.
MCP server tools are not supported for updates in the announced preview, and Google has not provided a timeline for adding that support. The available material also does not explain in detail how developers should handle edge cases involving multiple changing instructions, beyond saying that newer instructions take precedence when they conflict with earlier ones. Those behaviors and production reliability remain to be evaluated.
Testing the Interactions API Preview
Developers can try the feature through the Interactions API preview. Google’s guidance is to keep the top-level system instruction and tools list consistent across turns, then use system_input to add instructions or update supported function tools. Teams testing it can examine the recorded interaction steps and compare behavior against their requirements, while treating any cost or latency benefit as unverified until measured in their own workloads.
Google has not announced a date for changes to the preview, broader tool support, or general availability. The next public milestone will depend on further information from the company; no schedule is currently provided.
Key Questions
What does the Gemini API preview let developers change?
It lets developers add system instructions or update supported function tools during an ongoing Interactions API conversation.
How are mid-conversation instructions added?
Developers link the next interaction to the previous one with previous_interaction_id and add a system_input step before user_input. Google says the new instruction remains active for the rest of the session.
Does the preview support MCP server tool updates?
No. Google says the preview supports function-tool updates, but not updates to MCP server tools.
Has Google shown how much cost or latency the feature saves?
No independent performance measurements or workload-specific savings are included in the announcement. Google says the method is designed to preserve cached earlier tokens, but the practical effect has not been quantified in the available material.
When will the feature leave preview?
Google has not announced a general-availability date or a schedule for further updates.
Primary source: Google AI · via ThorstenMeyerAI.com
