Skip to content

[FEATURE] Let the agent read image files with its own vision capabilities #30925

Description

@ZeterMordio

Claude Code has vision. It can analyze screenshots, describe UIs, spot visual bugs. But it can only use this ability when I manually paste an image into the chat (Cmd+V). The agent itself has no way to look at an image file on disk.

This means that even though Claude can take a screenshot via screencapture or generate a chart via code, it can't actually look at the result. The Read tool returns "Binary files are not supported" for images. There is no ReadImage tool. The agent is effectively blind.

Why this matters

The obvious use case is UI development. Right now, if I ask Claude Code to build a frontend component, it writes the code and hopes for the best. It can't take a screenshot of the result and check if it looks right. A simple ReadImage tool would close that loop and let the agent iterate visually without me having to paste screenshots back and forth.

This generalizes to anything visual: comparing a rendered page against a design mockup, catching layout regressions, verifying chart output, debugging "it looks wrong" issues.

What I'd like to see

Extend the Read tool to handle image files (PNG, JPEG, WebP, etc.) by feeding them into the model as vision input, the same way a pasted image works today. The vision model already supports this. The gap is just in the tool layer.

Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:toolsduplicateThis issue or pull request already existsenhancementNew feature or requeststaleIssue is inactive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions