Analyze an image
analyze_imageAnalyzes screenshots, mockups, or design exports with a vision model to return structured JSON on layout, components, colors, typography, spacing, and issues.
Instructions
Analyze a PNG/JPG/WebP screenshot, mockup, or design export with a vision model and return structured JSON describing layout, sections, components, colors, typography, spacing, interactions, issues, and implementation notes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "analyze_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative path to a .png, .jpg, .jpeg, or .webp image. | |
| prompt | No | Optional focus: what should be emphasized, e.g. 'describe the hero section'. |