FOR THE BUILDERS, THE MAKERS & THE SMALL TEAMS WITH BIG IDEAS ✳
AI Infrastructure · News Analysis

Gemini API Previews Mid-Conversation Updates: Check Your Turn Boundaries

Google’s December 3, 2026 announcement introduces mid-conversation instruction and tool updates in the Gemini API. For small teams building long-running agents, the practical opportunity is to change a session’s behavior while preserving earlier cached content. Start by checking whether your workflow can apply changes at user-turn boundaries: the preview does not support inserting these updates during a function-calling loop.

ai-infrastructure: Official update → Team impact → Adoption decision. Editorial workflow illustration.
Source-based News Analysis. Google’s announcement was published December 3, 2026; the announcement and official documentation were accessed December 4, 2026. No API calls, cache measurements, or behavioral tests were performed. Examples and evaluation steps are editorial proposals. Preview documentation may change.

1. What Google announced

In its release announcement, Google describes a new system_input step for the Interactions API. Developers can append instructions, update function tools, or combine both in a single step. Google says this preserves earlier prompt-cache content because the changes appear at the current turn boundary instead of rewriting the prompt’s beginning.

The feature is in public preview through the v1beta endpoint. Google announces support across Gemini 4 models; the documentation currently lists gemini-4-carbon, gemini-4-neon, and gemini-4-hydrogen. It supports model interactions, while agent interactions and the generateContent method are excluded.

These are documented capabilities and vendor descriptions. We have not exercised the API or measured cache reuse. The evaluation recommendations below are editorial proposals, with no tested performance or reliability results.

2. Instructions accumulate instead of disappearing

The official documentation explains that each new instruction remains in conversation history alongside the original system instruction. Nonconflicting rules continue to apply together. When instructions conflict, Google says the model favors the most recent instruction.

This makes reversals an explicit writing task. Suppose a document assistant begins by producing detailed explanations, then switches to a short summary for the next phase. A later return to detailed output should clearly revoke the earlier brevity requirement. Merely adding another vague preference could leave the intended behavior difficult to interpret.

Our recommendation is to describe each change narrowly: what changed, which previous instruction it supersedes, and which requirements still apply. Because earlier steps cannot be removed, repeated corrections also remain part of the context. Plan phase transitions before turning every application event into another instruction.

3. “Mid-conversation” has a precise boundary

To continue a session, pass the prior interaction’s ID in previous_interaction_id. Place at most one system_input directly before a user_input step in the input array. Keep the top-level system instruction unchanged to preserve the prompt prefix described in Google’s announcement.

The documentation says an update cannot stand alone or accompany a function-result return during a function-calling loop. It must wait until the next user-input turn. Instruction content must be text, and a step needs text unless it adds or removes tools. Violating these rules produces HTTP 400 according to the documentation.

For a small team, this is an integration question worth settling early. Map where your application receives new instructions and where its next eligible turn occurs. A workflow that needs to change behavior while processing successive tool results requires a different transition design. Our guide to designing a reliable AI workflow provides a framework for making those handoffs explicit.

4. Preserve the original tool list

Tool updates use added_tools and removed_tools inside system_input. Currently, these fields support custom function tools only. MCP server tools and built-in tools such as Google Search and code execution are excluded. Teams using MCP should check that limitation before treating this announcement as applicable to their existing connections.

A less obvious requirement concerns later requests. Keep sending the original top-level tool list, including functions subsequently removed through an update. Google says the API validates stored history against that list; dropping a removed function from it causes HTTP 400 on later turns. Likewise, do not copy a newly added function into the top-level list: redeclaring an active added tool also causes HTTP 400.

Tool changes persist until another update changes them. When both fields appear, removals happen before additions, allowing a definition to be replaced. Our implementation proposal is to track the original declarations separately from subsequent changes. Avoid rebuilding the initial list from whichever functions are currently active.

5. Test one transition and one reversal

A bounded evaluation could use a document assistant with two mock functions: retrieve a source passage and format a summary. Begin with retrieval available. At a later user turn, add the formatter and introduce a concise-output instruction. Then reverse the instruction and remove the formatter at another eligible turn.

Check whether unrelated requirements survive both changes, whether the intended function is selected, and whether later requests retain the original declarations correctly. Include a conflicting earlier instruction so the reversal tests something meaningful. Retrieve the interaction and inspect the recorded steps; Google documents that instruction and tool updates appear in order alongside other steps.

Record request validity, output correctness, and any available cache-usage evidence separately. A valid request does not establish correct behavior, and a convincing answer does not establish cache reuse. Use the task-and-trace approach in our agent evaluation guide to define acceptance criteria before running the pilot.

6. Adopt when session changes are already a problem

This preview deserves evaluation when a Gemini application already has long sessions with changing instructions or custom function availability. Its most useful design contribution is an explicit record of changes while retaining the earlier conversation prefix.

For short interactions with stable instructions, the additional state tracking may offer little practical value. MCP-heavy workflows also need to account for the current exclusion. Keep adoption tied to a demonstrated need and a manageable transition model.

Proceed beyond a pilot only when the application can explain which instructions and functions apply at each turn, reproduce a reversal, and preserve valid request structure afterward. Google’s documentation establishes the intended mechanics; your own traces must establish whether those mechanics work reliably for your workload.

Sources & further reading

Primary references used for product and technical information. Features and terms can change; check the provider before committing.

No affiliate links are included in this article. Read our disclosure.