Gemini API previews mid-conversation instruction and tool updates
Google says developers can add system instructions or update function tools between turns through the Gemini API’s Interactions API while keeping earlier turns eligible for prompt caching. The preview supports all Gemini 4 models through the v1beta endpoint; mid-conversation instructions carry top-level system authority, while their tokens use standard input rates. Google warns that applications must authorize every function call on the backend before execution.
The preview gives long-running agents a way to change rules, permissions, and available tools without reprocessing the full conversation, while Google says earlier turns can retain cached-token rates.
Introducing mid-conversation instructions in the Gemini API
Dec 03, 2026
|
Developers can now update system instructions or tools in the middle of a conversation while keeping the prompt cache intact.
Trey Nguyen