Google has introduced the ability to update system instructions and tools in the middle of a conversation through the Gemini API. According to the announcement, these mid-conversation changes can be made while preserving the prompt cache.

Why it matters

The capability lets developers adjust a model’s behavior and available tools dynamically without resetting the conversation context or discarding the prompt cache, which supports continuity across an ongoing interaction.

Who should care

Developers building applications on the Gemini API who need to modify system instructions or tools during a session are the primary audience for this update.