Claude API Mid-Conversation Tool Changes: Fix the Cache Bug
Anthropic's beta for mid-conversation tool changes, shipped with Claude Opus 5, fixes a prompt-caching bug that caused cache misses when the `tools` array was modified mid-session, costing up to 87% s…