Thursday, December 3, 2026
Translate
PrivacySubmit newsShare your story Newsletter Advertise
Breaking
AI news

Google Adds Mid-Conversation Instructions to Gemini API

Google's new Gemini API preview feature lets developers update system instructions and tools mid-session while preserving the prompt cache.

Google Adds Mid-Conversation Instructions to Gemini API

Google launched a preview of mid-conversation system instruction and tool updates for the Gemini API via the Interactions API on December 3, 2026. Developers can now adapt agents mid-session without invalidating the prompt cache.

What Changed in the Gemini API

Google announced that mid-conversation system instruction and tool changes are available in preview in the Gemini API through the Interactions API. Trey Nguyen, product manager for the Gemini API, and Daniel Kyme, product manager for Google Cloud, detailed the update on December 3, 2026. The feature lets agents adapt to new rules and tools mid-session without re-reading the entire conversation.

Previously, rewriting system instructions or changing tools invalidated the prompt cache, requiring the model to reprocess the entire conversation history. The new method allows developers to send a system_input step at any turn with instruction or tool changes while keeping earlier turns cached.

The TechUpscale Brief. The day's cyber, AI and tech news in one short email, every weekday morning. Free. Unsubscribe anytime.

How Tool Updates and Pricing Work

Developers can use added_tools and removed_tools to update function tools as a session evolves, though MCP server tools are not currently supported. The API processes removed_tools before added_tools when both are included in a single step.

Mid-conversation system instructions carry no separate fee, and tokens in system_input steps are billed at standard input token rates. The feature is available in public preview across all Gemini 4 models in the Interactions API through the v1beta endpoint.

Key facts and where they come from
  • Mid-conversation system instruction and tool changes are available in preview in the Gemini API through the Interactions API.
    Today, mid-conversation system instruction and tool changes are available in preview in the Gemini API through the Interactions API.
  • Mid-conversation system instructions carry no separate fee.
    Mid-conversation system instructions carry no separate fee.

Add TechUpscale as a preferred source on Google

The TechUpscale Brief

The day's cyber, AI and tech news in one short email, every weekday morning. Free. Unsubscribe anytime.

I'm most interested in

Join the conversation

Comments are moderated. Be civil and stay on the story: no personal attacks, hate, spam or ads, and no one else's private details. Your email is never shown. Privacy policy.

More AI