Comment by cube2222
2 months ago
Alright, I think I found the reason, clearly a bug: https://github.com/anthropics/claude-code/issues/1236#issuec...
Basically it seems to be hitting the max output token count (writing out a whole new file in one go), stops the response, and the invalid tool call parameters error is a red herring.
Thanks for the report! We're addressing it urgently.
Seems to be working well now (in Claude Code 1.0.2). Thanks for the quick fix!