What
The 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.
imagesRefusedappears 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.- 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.
- The note is shown in the
tool_result, so Claude sees it.
Why
Repeated 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.