🔍 Read the full analysis: Getting Started With Mid-Conversation Instructions In The Gemini API on ThorstenMeyerAI.com
TL;DR
Google announced a preview feature for the Gemini API’s Interactions API that lets developers add system instructions and update supported function tools during an ongoing conversation. The feature is designed to preserve cached earlier turns, but Google has not published independent performance measurements or a timeline for wider availability.
Google announced on December 3, 2026, that developers can use the Gemini API’s Interactions API to add system instructions or change supported function tools during an active conversation. The preview is designed to preserve cached earlier turns, avoiding the need to rebuild the conversation context when an agent’s rules or available actions change, according to Google.
To add an instruction, developers pass the prior interaction’s ID and put a system_input step immediately 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 instructions remain active for the rest of the session, alongside the original system instruction; a newer instruction takes precedence if it conflicts with an earlier one.
Google advises developers to keep the top-level system instruction unchanged between turns. For tool changes, it recommends leaving the top-level tools list consistent and using added_tools and removed_tools within a system_input step to adjust which function tools are available. Google says the preview supports updates to function tools, but not MCP server tools.
The API links turns through a previous_interaction_id. Google’s examples show an infrastructure assistant receiving a new instruction to recommend read-only diagnostics during a deployment freeze, and a tool update that removes a refund function and adds an escalation-ticket function. Retrieved interaction records include system_input steps with user inputs and model outputs, which Google says can help developers inspect and debug agent activity.
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 run across long sessions: an application may need to change what the model is allowed or expected to do after a conversation has begun. For example, a deployment freeze might require an infrastructure assistant to offer read-only checks rather than commands that alter a system. A billing review might require pausing refunds and directing a customer toward escalation.
Google says developers previously faced a choice between adding a new instruction as a user message, which did not carry the authority of a top-level system instruction, or changing the top-level instruction or tool list, which invalidated the prompt cache. In the latter case, the model would reprocess conversation history, adding cost and latency, according to the company. Keeping earlier turns cached while adding a higher-authority instruction could help developers manage changes with less repeated processing, though the announcement provides no independent measurements of savings.
Recording updates in the interaction history may also give teams a clearer account of how an agent’s instructions and available tools changed during a session. That could help with debugging and review. The practical value will depend on how the preview performs in real workloads and whether its function-tool support fits a developer’s system.
Products Worth Considering

Bose QuietComfort 45 Wireless Bluetooth Noise Cancelling Headphones, Over-Ear, White Smoke

Apple MacBook Air 15-inch Laptop with M5 Chip, 24GB Memory, 1TB SSD, Liquid Retina Display, and Wi-Fi 7

Bose SoundLink Revolve+ II Portable Bluetooth Speaker, Black
As an affiliate, we earn on qualifying purchases.
How Interactions API Updates Work
The Interactions API connects one turn to the next using a previous_interaction_id. In Google’s described approach, the developer keeps the original top-level system instruction stable and adds later changes as system_input steps. Those steps remain in effect for the rest of the session, rather than replacing the original instruction.
The same pattern applies to supported function tools: the initial top-level declarations stay consistent, while system_input identifies tools to add or remove. Google’s example removes a refund function and makes an escalation-ticket function available. This is a preview capability, and the company’s announcement specifically excludes MCP server tools from tool updates.
Google presents the feature as a way to address changing rules and permissions in agents that may operate for dozens or hundreds of turns. Its examples explain the intended behavior, but the announcement does not report customer deployment results or independent tests.
““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 Performance and Tool Support
Google has not said when the feature will leave preview, whether its behavior or supported tools may change, or how much cost or latency developers might save in particular workloads. The announcement includes no independent performance measurements and no reported results from customer deployments.
It also does not specify whether or when MCP server tools might be supported. The examples show how the company expects updates to work, but the available material does not explain how the API handles more complex cases involving several changing or conflicting instructions. Those details remain unclear.
Testing the Gemini API 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 steps for later changes. Teams evaluating it can check whether interaction records make updates straightforward to audit and whether cached context is preserved in their own workflows.
Google has not announced a date for changes to the preview, broader tool support, or general availability. The next milestone depends on further information from the company; no schedule is provided.
Key Questions
What did Google announce for the Gemini API?
Google announced a preview feature in the Interactions API that lets developers add system instructions or update supported function tools during an ongoing conversation.
How do developers add an instruction mid-conversation?
They pass the prior interaction’s ID and place a system_input step before the next user input. Google says the step has top-level system-instruction authority and remains active for the rest of the session.
Which tool updates are supported?
The preview supports updates to function tools, using added_tools and removed_tools in a system_input step. Google says MCP server tools are not supported for these updates.
Does the feature have measured cost or latency benefits?
Google says preserving cached earlier turns is intended to avoid reprocessing conversation history when instructions or tools change. Its announcement does not provide independent measurements or quantify savings for specific workloads.
When will the feature leave preview?
Google has not provided a timeline for leaving preview or wider availability.
Primary source: Google AI · via ThorstenMeyerAI.com
Popular right now

Ninja CREAMi Scoop & Swirl 13-in-1 Ice Cream and Soft Serve Maker, NC701

Samsung 65-Inch Neo QLED 4K Smart TV with Dolby Atmos and Amber Protection Plan (2025)

De’Longhi Classic Matte Black Espresso Machine with Milk Frother
As an affiliate, we earn on qualifying purchases.