vision_layout
Analyze image layout structure to return structured JSON with canvas, elements, and relations, helping agents reconstruct or inspect UI screenshots.
Instructions
Analyze an image's layout structure and return structured JSON (canvas, elements, relations).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "vision_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | Layout task hint | |
| model | No | Vision model name | qwen3-vl:2b-instruct |
| image_url | No | Remote HTTP(S) image URL | |
| mime_type | No | MIME type of image_base64 (e.g. image/png) | |
| image_path | No | Local path to the image file | |
| image_base64 | No | Base64-encoded image data |