You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Read tool fails to process images with direct Anthropic provider (Claude Opus 4) on v1.2.15 #15566
The Read tool fails to read image files with the error "Could not process image" when using Claude Opus 4 via the direct Anthropic provider. The model supports image input, but the Read tool's modality check appears to reject it.
Environment
OpenCode version: 1.2.15
Provider: Anthropic (direct, no proxy)
Model: anthropic/claude-opus-4-6
OS: macOS
Plugin: oh-my-opencode@latest
Steps to Reproduce
Configure OpenCode with direct Anthropic provider and Claude Opus 4
Have any image file (PNG, JPG, etc.) in the working directory
Ask the model to read the image file using the Read tool
Read tool returns an error about not being able to process the image
Expected Behavior
The Read tool should detect that Claude Opus 4 supports image input and return the base64-encoded image as an attachment.
Actual Behavior
Read tool rejects the image with a "could not process image" error.
If your issue is specifically about the Read tool path rather than drag-and-drop, it may still be distinct from #14289 and worth tracking separately, but please review those first.
Activity
github-actions commentedon Mar 1, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is specifically about the Read tool path rather than drag-and-drop, it may still be distinct from #14289 and worth tracking separately, but please review those first.
github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.