Fetching from the wire…
Public story · 2026-07-27 · high
Anthropic's new beta header, live since July 24, lets harnesses swap toolsets mid-run instead of pre-declaring every tool to protect the cache.
Why now: Anthropic dated the fix to July 24, closing a gap that's forced agent harnesses to pre-declare every tool and eat the token cost for ones they never call.
Anthropic shipped a beta header on July 24 that lets Claude swap tools mid-conversation without invalidating the prompt cache, per its API release notes.
Before this, changing an agent's tools mid-run reset the cache. Most harnesses responded by pre-declaring every tool a run might ever need, then eating the token cost for the ones that never got called. The header, mid-conversation-tool-changes-2026-07-01, works on four models: Fable 5, Mythos 5, Opus 4.8, and Opus 5.
Phase-scoped tool access stops being a tradeoff. You can hand an agent read-only tools during planning, then swap in write tools only after a human approves the plan. No cache rebuild at the handoff. That's the pattern I've wanted for a while and couldn't justify on cost. I'm rewiring my own dispatch around it.
The catch: Anthropic's notes don't say whether the savings hold if you swap tools more than once per conversation. They also don't say what happens to cache pricing on the turn where the swap itself happens. Anyone building multi-phase agents will find out fast.
My bet: phase-scoped toolsets become the default agent pattern, not an advanced option people bolt on later. Read-only until a human signs off on the write step. If your harness still declares every tool at session start, that's a decision to revisit.
Each link below shares sources, entities, or timing with this story.
Claude Code uses Opus / Shared entities / Shared topic / Earlier coverage
Linked by a graph relationship (Claude Code uses Opus); both cover Fable, July, Opus, Until; overlapping topics (around, between, tool).
Linked by a graph relationship (Claude Code uses Opus); both cover Fable, July, Opus; overlapping topics (cost, exactly).
Linked by a graph relationship (Claude Code uses Opus); both cover Fable, July, Opus; overlapping topics (agent, cost).
Opus built by Anthropic / Shared entities / Earlier coverage / Tension
Linked by a graph relationship (Opus built by Anthropic); both cover Fable, Mythos, Opus; earlier Fable coverage from 2026-06-17.
Claude Code uses Opus / Shared entities / Earlier coverage / Tension
Linked by a graph relationship (Claude Code uses Opus); both cover Fable, Mythos, Opus; earlier Fable coverage from 2026-06-14.
Opus built by Anthropic / Shared entities / Earlier coverage
Linked by a graph relationship (Opus built by Anthropic); both cover Fable, July, Opus; earlier Fable coverage from 2026-07-12.
Linked by a graph relationship (Opus built by Anthropic); both cover Fable, July, Mythos; earlier Fable coverage from 2026-07-10.
Linked by a graph relationship (Opus built by Anthropic); both cover Fable, July, Mythos; earlier Fable coverage from 2026-07-02.