Gemini API Preview Supports Changing System Instructions During Dialogue
The story so far
Google has launched the ability to change system instructions and tools midway through a dialogue in the Gemini API's Interactions API in open preview form. Previously, such changes would invalidate the prompt cache and require the model to reread the entire dialogue history. This feature is provided through the v1beta endpoint, covering all Gemini 4 models in the Interactions API; regarding tools, currently only the update functions for added_tools and removed_tools are supported, and MCP server tools are not supported. Google states that system instructions midway through a dialogue are not charged separately, and the tokens in the system_input step are billed at the standard input token rate for the model called. Support for the Gemini Enterprise Agent Platform will be launched later.
AI-written from the reports · Updated 13 hours ago
Coverage timeline
Follow the coverage to see every side of the story.
- Google AI BlogFeaturedIntroducing mid-conversation instructions in the Gemini API
Google has launched the ability to modify system instructions and tool functions midway through a conversation in the Gemini API's Interactions API in preview form. Previously, such changes would invalidate the prompt cache, requiring the model to reread the entire conversation history.
Heat over time
- Now
- 7
- Peak
- 104 Dec, 03:00
- 24h change
- –
Hover or tap the chart to see each hour; use the arrow keys on a keyboard.