How to change Gemini API instructions during a conversation
Google’s Interactions API can add a new system instruction or change custom tools between turns while preserving the prompt cache. The preview supports three Gemini 4 models.

Key facts
- Google published the preview notice on 3 Dec 2026.
- It uses the v1beta Interactions API.
- The preview supports Gemini 4 Carbon, Neon and Hydrogen model interactions.
- A system_input step comes immediately before the next user_input step.
- Tool changes apply to custom functions.
Google’s 3 Dec release notes describe a public preview for apps that need to change Gemini’s instructions during a conversation. The Interactions API can add a system instruction or change which custom functions the model can call between user turns. Google says the new step can preserve the prompt cache for earlier turns.
Which Gemini models can use it?
Google lists Gemini 4 Carbon, Neon and Hydrogen. The preview uses the v1beta Interactions API and applies to model interactions. If your app uses generateContent or an agent interaction, this step is outside the supported setup. Check your endpoint and model ID before changing your requests.
Teams in Dubai can use the published model and endpoint list to decide whether there is anything to test in their project. Google’s notice gives no UAE-specific rollout details and quotes no separate price for the preview. Check access and billable usage in your own account.
How do you change an instruction between turns?
Keep the normal instructions in the app’s initial system prompt. When the app needs a change, continue the stored conversation using the previous interaction ID. Put one system_input step immediately before the next user_input. Google’s guide says you can send one such step per turn and must wait for a user turn after a tool call.
An added instruction stays in the conversation history. Earlier instructions that still apply remain in effect. For a first test, keep the instruction small. Tell the app to answer the next request with a short summary and one action, then check that it still uses details from the earlier conversation.
What should you test before using it in a live app?
Try a support chat with a pretend appointment and two test functions, one to look up the booking and one to reschedule it. When rescheduling becomes unavailable, remove that test function and tell the model why. Check the model’s response and the actual calls made by the app.
Google says the changes apply to custom functions. Keep the original tool list stable and use the new step to add or remove functions. The initial tool choice setting does not govern functions added later, so keep authorisation checks in the application. Compare cached input and response time with the same conversation in your current setup.
What it means for you
Use a sample conversation in staging. Check that prior context is retained, tool access matches your app’s permissions and cached input behaves as expected before changing production.
More from Everything Dubai
How to test Gemini 4 Live before switching your voice app
Google’s Gemini 4 Live API preview lets teams test faster spoken replies and optional background reasoning in the same model. Here’s what to check before a switch.
Source: Google
How to try Google’s faster Arabic and English live translation
Google is rolling out faster live speech translation on Android and iPhone. Here is how to try Arabic and English in Dubai and check which modes you have.
Source: Google
How to pin Projects in ChatGPT’s new mobile app
OpenAI is rolling out a mobile layout with a More tab. It lets you pin the features you use most to the tab bar.
Source: OpenAI release notes


