Better Models: Worse Tools | Armin Ronacher's Thoughts and Writings
lucumr.pocoo.org · 2,300 words · saved by 1 readers
About an aggravating tool-calling regression in newer Claude models.
written on July 04, 2026 A very strange Pi issue sent me down a rabbit hole over the last two days. The short version is that newer Claude models sometimes call Pi’s edit tool with extra, invented fields in the nested edits[] array. And not Haiku or some small model: Opus 4.8. The edit itself is usually correct but the arguments do not match the schema as the model invents made-up keys and Pi thus rejects the tool call and asks to try again. That alone is not too surprising as models emit malformed tool calls sometimes. Particularly small ones. What surprised me is that this is getting…
saved by
related reading
- An update on recent Claude Code quality reports \ Anthropicanthropic.com
- Introducing Claude Sonnet 5anthropic.com
- A Guide to Claude Code 2.0 and getting better at using coding agents – sankalp's blogsankalp.bearblog.dev
- How I Use Claude Code | Philipp Spiessspiess.dev
- Coding Models Are Doing Too Much | whnrehiew.github.io
- Claude Code Cheat Sheetcc.storyfox.cz
- Best practices for Claude Code - Claude Code Docsanthropic.com
- Don’t Outsource Your Thinkingteltam.github.io
- 2025: The year in LLMssimonwillison.net
- cchistory: Tracking Claude Code System Prompt and Tool Changesmariozechner.at
- Claude Sonnet 4.5 System Cardassets.anthropic.com
- How Claude Code is built - by Gergely Orosznewsletter.pragmaticengineer.com