Gemini API now supports mid-conversation system instructions and tool updates
According to Google AI: Google has updated the Gemini API to let developers update system instructions and tools in the middle of a chat session. This feature avoids reloading the whole conversation, which saves costs and keeps the prompt cache working properly.

Original image temporarily unavailable
According to Google AI:
According to Google product managers Trey Nguyen and Daniel Kyme, the new Interactions API for Gemini introduces a system_input step that lets long-running AI agents adapt to changing rules and permissions mid-session. Previously, changing instructions or tools would invalidate the prompt cache, forcing the model to reprocess the entire conversation history and driving up latency and costs.
With this update, developers can pass previous interaction IDs and add system_input steps directly before user messages. These steps carry the same authority as top-level instructions and take precedence over user messages while earlier turns stay cached. The API also supports adding and removing specific function tools dynamically during a session without breaking the prompt cache.
Google reports that this feature is available in public preview across all Gemini 4 models. Standard input token rates apply to the new instructions, while earlier turns retain cached-token rates.
View selection rationale
Importance 75/100
About this brief
- Content type
- News summary
- Source type
- First-party / official source
- Original source
- Google AI ↗
- Source published
- Process
- AI-assisted discovery, translation, summarisation, classification and scoring; standards and corrections are maintained by the editorial desk.
- Verification
- The original URL and publication metadata are retained. This brief is not independently fact-checked unless explicitly stated.
- Published by
- Polyemergence Editorial Desk
- Conflict disclosure
- No financial or commercial conflict declared.
