Analyze Images in Order
analyze_imagesResolve local or OpenCode image paths, analyze via multiple vision APIs and OCR, and return JSON context for non-vision models.
Instructions
Resolve one or more local/OpenCode image paths, resize them safely, analyze each in strict order with Gemini then OpenAI low-detail then local OCR, and return delimited JSON context.
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": {
"image_paths": "<image_paths>"
},
"name": "analyze_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Optional analysis focus, such as accessibility or React component reconstruction. | |
| image_paths | Yes | A single image path/attachment reference or an ordered array of paths. |