{"version":"2.1.321","anchor":"image-reads-can-be-refused-when-the-files-were-shown-often-a","canonical_anchor":"image-reads-can-be-refused-when-the-files-were-shown-often-a","heading":"REPL tool results can report refused images with imagesRefused","tier":"notice","area":"Tools","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321\/e\/image-reads-can-be-refused-when-the-files-were-shown-often-a","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321","markdown":"### REPL tool results can report refused images with imagesRefused\n\nThe REPL tool result has a new imagesRefused field noting images left out, such as repeated images of unchanged files\n\n**What**\n\nThe REPL tool lets Claude run code. That code can read files, and these reads inside it are called inner Reads. The result the REPL tool sends back to Claude, called the `tool_result`, now has a new field, `imagesRefused`. Before, the result could only hold `images` and `imagesOmitted`.\n\n- `imagesRefused` appears when an image-handling callback refuses an image. A callback is a piece of code that is run to decide what happens to each image.\n\n- It carries a note about images from inner Reads that were left out because their files had already been shown often and had not changed.\n\n- The note is shown in the `tool_result`, so Claude sees it.\n\n**Why**\n\nRepeated images of files that have not changed can be skipped instead of being sent to Claude again. Claude is told that the images were left out, so it does not simply find them missing.\n\n- Area: Tools\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}