{"version":"2.1.319","anchor":"permission-prompt-unreadable-preview-file-becomes-a-tool-er","canonical_anchor":"permission-prompt-unreadable-preview-file-becomes-a-tool-er","heading":"An unreadable file in an approval prompt now gives a clear error","tier":"notice","area":"File Editing","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.319\/e\/permission-prompt-unreadable-preview-file-becomes-a-tool-er","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.319","markdown":"### An unreadable file in an approval prompt now gives a clear error\n\nIf Claude Code cannot read a file to show its change for approval, the action is now refused with an error the model sees\n\n**What**\n\nBefore you approve a change, Claude Code shows a preview of the file it affects. If that file cannot be read, the action is now refused and reported back as a tool error, saying the file could not be read to show the change for approval. Before, the failure was not caught and passed straight up.\n\n**Why**\n\nThe model now sees a plain error and can respond to it, rather than the failure breaking the step.\n\n- Area: File Editing\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}