Skip to content
Google·Indexed by this site · Originally published· AI updates →· Its place in the scan record →

Gemini API launches preview of mid-session system instruction and tool updates: prompt cache no longer invalidated

Introducing mid-conversation instructions in the Gemini API

AI summary

Google launched mid-session system instruction and tool updates in the Gemini API as a preview, with prompt caching remaining valid. Developers insert a system_input step at any turn via the Interactions API; it has the same effect as a top-level system instruction and takes precedence over user messages. Tool updates use added_tools and removed_tools, and currently support only function tools, not MCP server tools.

Read originalblog.google