AI · Nov 30, 2026
Anthropic bought six weeks of safety work on the same day it said nothing about encryption. The gap is the storyGoogle lets agents change the rules mid-game without paying to reread the whole game
· Updated · Signal Desk newsroom
Analysis of reporting by Google AI Blog. How we work

A small Gemini API feature fixes a real tax on long-running agents: updating instructions or tools used to blow up the prompt cache. The new system step keeps the cache and the authority intact.
Key takeaways
- Mid-conversation system instruction and tool changes are in public preview in the Gemini API through the Interactions API, for all Gemini 4 models on the v1beta endpoint.
- Developers send a system_input step before user_input at any turn; it carries the same authority as the top-level system instruction and outranks user messages.
- Earlier turns stay cached because the new step appends at the turn boundary, leaving preceding tokens unchanged.
- Tools can be swapped with added_tools and removed_tools; only function tools are supported for now, not MCP server tools.
- There is no separate fee; system_input tokens bill at standard input rates, and Google says apps should still authorize every function call on the backend.
Why it matters
Anyone who has run an agent for hours knows the problem Google is describing. Rules change partway through a session: a user authenticates, a deployment freeze starts, a billing review kicks in, a downstream service goes offline. Until now, Google says, developers could not give the model a new system instruction or change its tools without invalidating the prompt cache. The model then had to reprocess the entire conversation, adding cost and delay at exactly the point where sessions are longest.
The workarounds were both bad. Stuffing new rules into a user message preserved the cache but gave those rules less weight, and invited users to imitate them. Rewriting the system prompt kept the authority but threw away the cache. Google's fix, a system_input step in the Interactions API, is designed to get both: top-level authority and a warm cache.
How it works
The mechanics are simple. A developer passes the previous turn's ID and places a system_input step directly before the user's message, while keeping the original top-level system instruction unchanged. Because the new step is appended at the current turn boundary, everything before it is byte-for-byte the same as the last turn, and the cache still applies. Google's example has an infrastructure assistant told mid-session that a production deployment freeze is active; when the user asks for a deploy command, the model declines and suggests read-only checks instead.
Each system_input stays active for the rest of the session. Rules on different topics stack. When a newer instruction conflicts with an older one, Google says the model favors the most recent. Every step shows up in order when an interaction is retrieved, which gives developers a readable trace of who told the model what, and when. For anyone debugging why an agent did something on turn 140, that audit trail may be the most valuable part.
Tools that come and go
The tool half is just as practical. Tool declarations sit at the start of the prompt, so editing the top-level list breaks the cache. Instead, Google recommends leaving that list fixed and using added_tools and removed_tools inside a system_input step. Its example support agent loses the ability to issue refunds once an account goes under billing review and gains an escalation tool in the same step. Removals process before additions, so a tool can be replaced in place.
That opens patterns that were awkward before: start with a small toolset and grow it as a task needs more, enable write actions only after authentication or plan approval, or disable a tool while a dependency is down. One limitation is worth flagging. Only function tools are supported for now, not MCP server tools, which many agent builders now rely on.
The security line Google drew, correctly
The most important sentence in the announcement is a warning. Google says system_input, added_tools and removed_tools steer behavior and serve as orchestration controls, but the application should still authorize every function call on the backend and keep untrusted external or end-user content out of system_input. That is exactly right. Removing a refund tool from the model's view is not the same as revoking the permission to refund. If a model is manipulated, or simply wrong, the backend check is the real lock.
We would go a step further. A channel that outranks user messages is a powerful lever, and powerful levers attract injection attempts. Any agent stack that builds system_input text from retrieved documents, emails or web pages would be handing that authority to whoever wrote them. Developers should treat this step like privileged code: generated only from trusted application state, never from content the agent has read.
The economics behind a dull-sounding feature
There is no separate fee. Tokens in system_input steps bill at standard input rates, and earlier turns remain eligible for cached-token pricing when rules or tools change. The value, then, comes entirely from not losing the cache. For short chats, that is trivial. For long agent sessions with large contexts, cache misses are often the bulk of the bill.
This fits a broader pattern across the big model vendors. OpenAI pitched better prompt caching for GPT-6 as a cost lever, and Google has been positioning Gemini 4 Neon and Hydrogen around predictable pricing for recurring work. The competition is shifting from raw model quality toward the operating cost of agents that run for hundreds of turns. Features like this one do not make headlines, but they decide which platform is cheaper to build on. The preview covers all Gemini 4 models in the Interactions API, with support for Gemini Enterprise Agent Platform listed as coming soon.
Who it affects
- Agent developers
- Can update rules and tools mid-session without cache misses, with a clearer audit trail of instruction changes.
- Security teams
- Gain a cleaner way to revoke tools, but must ensure backend authorization and keep untrusted content out of system_input.
- Enterprises running long sessions
- Should see lower cost and latency where cache invalidation was a major expense.
- MCP-based builders
- Must wait, since only function tools can be added or removed for now.
What to watch
- Support for MCP server tools in added_tools and removed_tools.
- Arrival of the feature on Gemini Enterprise Agent Platform.
- Whether OpenAI and Anthropic ship comparable mid-session system channels that preserve caching.
- Early reports of prompt-injection attempts targeting privileged instruction channels in agent stacks.
FAQ
What does the feature do?
Lets developers send updated system instructions or tool changes at any turn of a Gemini API conversation without invalidating the prompt cache.
Does it cost extra?
No separate fee. System_input tokens bill at standard input rates, and earlier turns stay eligible for cached rates.
Which models support it?
All Gemini 4 models in the Interactions API through the v1beta endpoint, in public preview.
Is removing a tool a security control?
Not on its own. Google says apps should still authorize every function call on the backend.
Companies: Google
More on Google
AI · Nov 28, 2026
If a machine cracks P versus NP, the first problem is disclosure, not decryptionAI · Dec 3, 2026
MedGemma 2 asks clinics to trade some accuracy for keeping patient data in the buildingAI · Nov 19, 2026
Perplexity opens its in-house model switchboard to developers, refusal routing includedAI · Nov 30, 2026
After WorkDocs, Amazon tries office software again, this time with agents holding the pen