getnews.online

Gemini API: change a model's instructions and tools mid-conversation

Google launches, in public preview, a system_input step that changes instructions or tools without invalidating the conversation's prompt cache.

Image: Google AI
1system_input step per turn

Hype check

Hype3
Real3
As advertised

The noise matches the real change.

Your call: hype or real?

Real = it will matter in daily use. Hype = louder than it is. One vote, and it can’t be changed.

Why it matters

It saves developers from reprocessing a whole conversation each time instructions or tools change.

For most people

Skip: a developer feature; nothing changes for you.

The details

  • You send a system_input step before user_input with the previous interaction ID, and the main instruction stays unchanged.
  • Each new instruction stays active for the rest of the session, and if it conflicts with an older one the model favours the newer.
  • Only function tools can be added or removed; MCP server tools are not supported.
  • No extra fee: system_input cost the standard input rate, and earlier turns stay eligible for cached-token pricing.
Try itTry it: if you build on the Gemini API and change instructions during a session.

Receipts

The company or lab said it. Primary source linked. Open the sources and check us.

Written with the help of AI tools and checked against the sources above. How we work

Get the daily brief by email

One email each morning. Unsubscribe with one click.

See a mistake? Tell us and we’ll fix it.