🔍 Read the full analysis: When To Use Mid-Conversation Instructions In The 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 intended to preserve cached earlier turns, but Google has not published independent performance results, and MCP server tools are not supported for these updates.
Google announced on December 3, 2026, that developers can use the Gemini API’s Interactions API to update system instructions or supported function tools during an ongoing conversation. The preview is designed to let agents respond to changing rules without invalidating the cache for earlier conversation turns, although Google has not provided independent measurements of the resulting cost or latency effects.
To add an instruction, a developer continues the conversation by passing the earlier interaction’s ID and placing a system_input step immediately before the next user input. Google says the new step has the authority of a top-level system instruction and takes precedence over user messages. It remains active for the rest of the session; later instructions can add to it or take precedence when they conflict.
Google advises keeping the original top-level system instruction unchanged between turns. For tool changes, developers should also keep the original tools list the same and use added_tools and removed_tools within system_input to change which function tools are available. The preview supports updates to function tools, but not MCP server tools.
Interaction records include system_input steps alongside user inputs and model outputs, which Google says can help developers audit and debug agent traces. The company’s examples include adding read-only restrictions during a production deployment freeze and removing a refund function while adding an escalation-ticket function. These are examples of intended use, not reported customer deployment results.
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 History
The change addresses a problem for agents whose permissions or instructions may need to change after a conversation has started. A system handling infrastructure work might need to switch to read-only diagnostics during a deployment freeze. A billing agent might need to stop issuing refunds and route a case for escalation. With the preview, developers can add those restrictions as system-level instructions rather than relying on a user message, which Google says does not carry the same authority.
Previously, developers faced a trade-off: add a new instruction as a user message, or update the top-level instructions or tools list and risk invalidating the prompt cache. According to Google, changing that setup can require the model to reprocess conversation history, adding cost and latency. Preserving the cached turns may avoid that extra processing, but the announcement does not quantify any savings. The practical value will depend on preview behavior and whether the function-tool mechanism suits a developer’s agent.
Products Worth Considering

Logitech MX Mechanical Wireless Illuminated Keyboard, Clicky

Bose QuietComfort Wireless Noise-Cancelling Headphones, Sandstone

Logitech MX Master 4 Ergonomic Wireless Mouse with Haptic Feedback, Graphite
As an affiliate, we earn on qualifying purchases.
How Interactions API Updates Apply
The Interactions API links conversation turns with a previous_interaction_id, allowing a developer to continue from an earlier interaction. In Google’s example, the original top-level instruction remains unchanged while a new system_input tells an infrastructure assistant to recommend read-only diagnostics during a deployment freeze. When the user asks for a deployment command, the example assistant declines and suggests checks instead.
Google says system_input steps remain active alongside the original instruction. This means that instructions added on different topics can continue to apply together, while a newer system_input takes precedence over an earlier one when they conflict. For tools, the demonstrated approach keeps the initial declarations in place and uses additions and removals to adjust the available function tools. The feature is a preview, and its tool-update scope excludes MCP server tools.
““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 Still Unclear
Google has not said when the feature will leave preview or whether its behavior and supported tools will change. The announcement also gives no independent performance measurements and does not estimate how much cost or latency might be saved in particular workloads. Its examples show the intended behavior but do not establish how the feature performs in customer deployments.
It is also unclear whether Google plans to add MCP server tool support, or how developers should handle complex cases involving several changing or conflicting instructions. Those details, along with any broader reliability evidence, are not covered in the announcement. Developers testing the preview will need to evaluate its behavior against their own requirements rather than treating the stated cache benefit as a measured result.
Developers Can Test the Preview
Developers can try the capability 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. Testing can help teams determine whether the behavior fits their agent workflows and whether it produces practical benefits in their own workloads.
Google has not announced a schedule for changes to the preview, wider tool support, or general availability. The next developments will depend on further information from the company; until then, cost and latency effects, production reliability, and any expansion beyond function tools remain unconfirmed.
Key Questions
What did Google add to the Gemini API?
Google added a preview capability in the Interactions API for adding system instructions or updating supported function tools during an ongoing conversation.
How does a developer add a mid-conversation instruction?
The developer continues the prior interaction using its ID and places a system_input step immediately before the next user input. Google says this step has the authority of a top-level system instruction and remains active for the rest of the session.
Does the preview support MCP server tools?
No. Google says the preview supports updates to function tools, but not MCP server tools.
Does the feature guarantee lower costs or latency?
No such guarantee or measured result was reported. Google says the method is designed to preserve cached earlier turns, but the announcement gives no independent performance measurements or savings estimates.
When will the feature leave preview?
Google has not announced a date for general availability or said when the preview will end.
Primary source: Google AI · via ThorstenMeyerAI.com
