TL;DR
Google has made mid-conversation system instruction and function-tool updates available in preview through the Gemini API’s Interactions API. Developers can add instructions at a turn boundary while keeping earlier conversation tokens cached; Google says only function tools are supported for tool updates, not MCP server tools.
Google announced on December 3, 2026, that developers using the Gemini API can now change system instructions or supported function tools during an ongoing conversation through the Interactions API. The feature is in preview and is designed to let agents respond to changing rules while preserving the prompt cache for earlier turns.
Get business pricing on tech for your team
- Business-only prices and quantity discounts
- Tax-exempt purchasing
- Multiple users, one account, clear invoices
Google says long-running agents may need to respond to changes in rules, permissions, and available tools over dozens or hundreds of turns. Previously, developers either added new instructions as a user message, which Google says did not have the same authority as a top-level system instruction, or changed the top-level instruction or tools list and invalidated the cache. In the latter case, the model would reprocess the conversation history, adding cost and latency, according to the company.
With the new method, a developer passes the prior interaction’s ID and places a system_input step immediately before user_input in the next interaction. Google says that step has the authority of a top-level system instruction and takes precedence over user messages. Developers should keep the top-level system instruction unchanged across turns; each new system_input then appends to the conversation and remains active for the rest of the session.
For tool changes, Google recommends keeping the top-level tools list identical and using added_tools and removed_tools within system_input to change which function tools the model can call. Google says this preview supports function-tool updates, but not MCP server tools. Retrieved interaction records show system_input steps alongside user inputs and model outputs, which Google says can 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 Mid-Session
The feature addresses a practical problem for agents that operate across extended conversations: the application may need to change what the model should do after a session has begun. A deployment freeze, for example, could call for read-only diagnostics, while a billing review could pause refunds and route a customer to escalation. Previously, developers had to choose between giving the new instruction lower authority or changing the prompt setup in a way that invalidated the cache.
Preserving cached conversation history may reduce the additional processing cost and latency associated with changing top-level instructions or tools, Google says. The change also gives developers a clearer record of when instructions were added. Its practical value will depend on how the preview behaves in production workloads and on whether the supported function-tool mechanism fits a given agent’s design.
Products Worth Considering

Samsung 34-Inch Odyssey G5 Curved Ultra-WQHD Gaming Monitor, 180Hz

Bose SoundLink Flex (2nd Gen) Portable Bluetooth Speaker with Fast Charger, Sunset Peach

Amazon Kindle Scribe Colorsoft 64GB with 11-Inch Color Display and Premium Pen, Graphite
As an affiliate, we earn on qualifying purchases.
How the Interactions API Works
The Interactions API links turns using a previous_interaction_id. In its example, Google keeps the same top-level instruction across turns, then adds a system_input directing an infrastructure assistant to recommend read-only diagnostics during a production deployment freeze. A user then asks for a deployment command; the example output refuses to provide one and offers checks instead.
Google says system_input steps remain active alongside the original top-level instruction. Instructions on different topics can therefore continue to apply together, while a newer system_input takes precedence when it conflicts with an earlier one. The company’s tool example keeps the initial tool declarations in place while removing a refund function and adding an escalation-ticket function at the next turn.
““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 Limits and Open Questions
Google’s announcement does not specify when the feature will leave preview, whether its behavior or supported tools will change, or how much cost or latency developers can expect to save in particular workloads. It also does not provide independent performance measurements. The announcement describes function-tool updates but excludes MCP server tools; it does not say when, or whether, that support might be added.
The examples illustrate the intended behavior, but the announcement does not report results from customer deployments or discuss how developers should handle edge cases involving multiple changing instructions. Those details remain unclear from the available material.
Testing the Preview in Practice
Developers can try the feature through the Interactions API preview, following Google’s guidance to keep the top-level system instruction and tools list consistent between turns and use system_input for updates. The next visible milestone will be further information from Google on preview changes, availability, or broader tool support. The announcement gives no schedule for those updates.
Where I land
I see this as a useful API change for developers building agents whose rules or permissions can change during a session. Keeping prior turns cached while adding higher-authority instructions addresses a concrete limitation, and recording those steps in interaction history could make behavior easier to inspect.
The strongest counterargument is that the announcement comes from Google and offers examples rather than independent measurements of cache savings, latency, or reliability in real deployments. I would judge the practical impact more favorably if developers report repeatable improvements across representative workloads and if Google documents how the feature handles complex instruction conflicts. Evidence that updates regularly invalidate the cache or behave inconsistently would change my assessment.
Key Questions
What did Google announce?
Google announced a preview feature in the Gemini API’s Interactions API for changing system instructions and supported function tools during an active conversation while keeping earlier prompt tokens cached.
How does a developer add an instruction mid-conversation?
The developer passes the previous interaction’s ID and adds a system_input step directly before user_input in the next interaction. Google says the new instruction stays active for the rest of the session.
Can the feature update any kind of tool?
No. Google says the preview supports function-tool updates through added_tools and removed_tools. It does not currently support MCP server tools.
Does Google say how much time or money developers will save?
No specific savings figures are given. Google says the feature avoids cache invalidation and the resulting reprocessing of conversation history, which it says can add cost and latency.
Source: Google AI
