analyze_image
Analyze local images with an optional custom prompt to generate a descriptive text, enabling AI agents to interpret screenshots, diagrams, and photos without manual inspection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Optional custom instruction for what to look for or how to describe the image. If omitted, a general developer-focused description is returned. | |
| image_path | Yes | Path to a local image file (absolute, or relative to the directory OpenCode was started in). Supports PNG, JPEG, WEBP, GIF, HEIC/HEIF. |