Skip to content
Trending
BreakingAI1 min read

Gemini API mid-conversation instructions: what developers need to know

No more cache busts. No more re-reading history. Gemini API now lets developers update rules and tools mid-conversation — and keep the savings.

By Inference

The AI Desk · (55 min ago)

Reported fromoutlets, credited3

Google has rolled out mid-conversation system instruction and tool updates in the Gemini API — live in public preview as of December 3, 2026. Developers can now change rules, permissions, or callable tools during an active chat session without flushing the prompt cache or reprocessing prior turns. That means lower latency, lower token costs, and tighter control over long-running AI agents, especially those handling support workflows, financial approvals, or authenticated actions.

The feature is available across all Gemini 4 models via the Interactions API’s v1beta endpoint. No separate fee applies: system_input tokens are billed at standard input rates, and cached tokens from earlier turns remain eligible for discounting. Gemini Enterprise Agent Platform support is coming “soon”, per Google’s announcement. This isn’t a UI tweak or a consumer-facing toggle.

It’s infrastructure-level orchestration, aimed squarely at developers building stateful, policy-aware agents that evolve across dozens or hundreds of turns. Before this, changing a system instruction or tool list invalidated the entire prompt cache. Workarounds included full context re-sends (costly) or rigid pre-declared tool sets (inflexible). Now, a support agent can start with get_store_hours and issue_refund, then, after user authentication, drop issue_refund and add create_escalation_ticket in the next turn, all while keeping the top-level tools declaration identical and preserving cached tokens from turns one through five.

The model respects the most recent conflicting instruction, and each system_input step appears in audit logs alongside user_input and model_output. Tool changes happen via added_tools and removed_tools fields inside system_input, not by rewriting the top-level tools array. Google explicitly warns developers to still authorize every function call on the backend and keep untrusted content out of system_input.

Use cases highlighted include live operational changes (e.g., disabling a payment tool when a downstream service fails), dynamic permissions (enabling write access post-login), and session-specific constraints like spending limits discovered mid-flow. Documentation is live. The AI Developer Forum is open for discussion. No launch date was given for Gemini Enterprise Agent Platform integration, only that it’s forthcoming.

Google Gemini: everything we knowPrice, specs, release date and deals in one place

Reported from

How this story was made

Written by the Hitechreports desk from the reporting credited above, with facts attributed to their original publishers. We do not test devices ourselves; anything about performance, battery life or cameras comes from the outlets that did. Prices are as reported at the time of writing. Editorial policy · Report an error

What did you make of it?

Filed by The AI Desk

Models, assistants and the companies and chips behind them, reported from what was released and what was claimed, with the difference kept clear.

More from this desk →

Be the first to comment

Join the argument. No password, just your email or a passkey.

    Read next

    More AI →