Anthropic's newest Claude models break code‑editing tool calls
The latest Claude Opus 4.8 and Sonnet 5 models often inject invented fields into the nested edits array when invoking Pi’s edit tool, causing schema validation failures despite generating correct edits. Armin Ronacher shows this regression is getting worse compared to older Anthropic models, exposing a growing misalignment between model outputs and tool interfaces.