News › Models & research › Alphabet
Models & research · · first reported by Google AI
Introducing mid-conversation instructions in the Gemini API
Google says developers can now preview mid-conversation system-instruction and tool changes in the Gemini API through its Interactions API. The feature is intended for long-running agents whose rules, permissions, or available tools change over many turns. Previously, changing system instructions or tools invalidated the prompt cache, while putting new directions in a user message gave them less authority and could let users imitate them. Developers can now add a system_input step at a turn boundary; it takes precedence over user messages while earlier conversation turns remain cached. The article says newer system_input instructions override earlier conflicting ones, and that the steps appear in retrieved interaction records for auditing and debugging. For tools, developers should keep the top-level list unchanged and use added_tools or removed_tools to update function tools; MCP server tools are not supported for these updates. The described preview is available through the Interactions API, with the example using the Gemini 4 Neon model.
How we know ConfirmedConfirmedA primary source backs it: the company’s own announcement, a filing, a research paper, or the released model or code.
checked · updates as sources arriveConfirmed: Google AI’s own announcement.
Crunch Score shows how loud a story is. Sourcing shows how well it is backed. Checked automatically, with AI comparing the reports.