DevelopersBy

Gemini API previews mid-conversation instruction and tool updates

Google opened a public preview that lets developers update system instructions and change which function tools an agent can call during a conversation while preserving the prompt cache for earlier turns. Updates take effect on the turn they’re added and apply to subsequent turns. The preview covers every Gemini 4 model through the Interactions API’s v1beta endpoint in the Gemini API. Tool updates currently cover function tools only. New instructions are billed at standard input token rates, and earlier turns remain eligible for cached-token pricing.

Why it matters

Long-running agents can adapt to changes such as newly approved permissions or a tool outage while avoiding the cost and latency of reprocessing the full conversation.

Sources

  • PrimaryGoogleSource date ·

Written by AIToolMaps from the source above and checked against it sentence by sentence.

Comments

No comments yet