AIThis post was created with the assistance of artificial intelligence (AI).

🔍 Read the full analysis: When To Use Mid-Conversation Instructions In The Gemini API on ThorstenMeyerAI.com

Before you orderOffer from Amazon

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
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

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.

At a glance
announcementWhen: Announced December 3, 2026; available i…
The developmentGoogle announced a Gemini API preview that lets developers add system instructions or change supported function tools during an ongoing conversation.
Gemini API · Briefing

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.

Dec 3, 2026
Google announced the preview
Dozens or hundreds
Turns long-running agents may span

What changes for developers

The Interactions API can add higher-authority instructions at a turn boundary while preserving earlier conversation tokens.

Previously
  • New rules sent as user messages had less authority.
  • Changing top-level instructions or tools invalidated the cache.
With the preview
  • 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.

1
Pass the prior interaction ID

Continue the conversation using previous_interaction_id.

2
Add system_input

Place it immediately before user_input; it remains active for the rest of the session.

3
Update function tools

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.

Supported

Function tools

Developers can add or remove function tools during a conversation.

Not supported

MCP server tools

The preview does not support updates to MCP server tools.

Unspecified

Savings and rollout

Google gives no specific cost or latency savings, or schedule for leaving preview.

EvaluateTest the preview against real workloads; the announcement offers examples but no independent measurements of cache savings, latency, or reliability.
The takeaway
Mid-session instruction updates give developers a way to adapt agent rules while retaining cached history, with practical impact still to be measured.

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

Bose QuietComfort Wireless Noise-Cancelling Headphones, Sandstone

Bose QuietComfort Wireless Noise-Cancelling Headphones, Sandstone

Logitech MX Master 4 Ergonomic Wireless Mouse with Haptic Feedback, Graphite

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

You May Also Like

Granite Docling V2: Compact AI For Vision-Language Document Conversion

IBM’s open Granite Docling V2 models convert document pages into structured output, with separate options for reported accuracy and speed.

A Closer Look At The Grok Images Claims Against SpaceX

The states allege Grok’s image tools enabled sexualized images of real people despite safety assurances. No court has ruled on the claims.

The Unexpected Consequence Of Rude Chats With This AI

A Cleveland.com headline suggests rude chatbot users could be banned, but the available material does not confirm the policy, bot or rationale.

Omarchy Wins SpaceXAI Support With $1.5 Million In Compute

A Verge headline reports $1.5 million in computing support for Omarchy, but the arrangement’s terms, timing and stated controversy remain unclear.