Gemini API previews changing system instructions and tools mid-conversation

Until now, a Gemini API session fixed its system instruction and tool list when it started. Changing either usually meant opening a new session and replaying the history, which costs tokens and latency and can disrupt caching. The new preview allows both to be updated mid-conversation.
This enables patterns agent builders currently work around. An agent can begin in a read-only research mode and gain write tools once a user approves a plan. A customer-support bot can switch personas after escalation. An orchestrator can narrow the tool list to reduce mistakes. Each change applies from that turn onward, so the earlier context is preserved.
The feature reflects an industry-wide focus on agent harnesses. Anthropic's Claude Code just expanded its hooks and remote MCP support. Hugging Face is training adapters for specific runtimes. AWS's Greenlight constrains agent actions with automated reasoning. Dynamic tool scoping is also a security measure: an agent that only holds the tools it currently needs has a smaller attack surface.
Open questions remain because it is a preview. Google has not explained how mid-session changes affect context caching discounts, and evaluation becomes harder when behavior can change during a run. Developers will want to see how the model handles instructions that contradict earlier ones. Watch for general availability and for whether competing APIs add equivalent features.