Error messages for oversized tool output now warn when the saved file itself was truncated
When a tool's output is too large to show directly and Claude Code saves it to a file instead, that saved file can itself be cut off at a byte limit. Now, when this happens, the error message shown to Claude explicitly notes that the saved file only contains the first N bytes or characters of the original output, that it may end in the middle of a structure, and that trying to parse it as JSON can therefore fail.
This extra warning helps Claude (and anyone reading the error) understand why a saved file might fail to parse, instead of appearing to be a mysterious JSON error.