Claude mid-conversation tool changes end a 12.5x cache-rewrite penalty in 2026
Editing the tools array mid-session invalidates the whole Claude prompt cache. Mid-conversation tool changes, under the inline-tools-2026-09-15 beta on the Claude API, swap that edit for two blocks.