view_region
Fetch a canvas region at the resolution the server permits and return the image plus a crop-pixel-to-canvas coordinate mapping for precise inspection.
Instructions
Fetch a canvas region (canvas coordinates) at the best resolution the server allows.
Returns the image and the mapping from crop pixels back to canvas coordinates.
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": {
"manifest_url": "<manifest_url>",
"canvas_id": "<canvas_id>",
"x": "<x>",
"y": "<y>",
"w": "<w>",
"h": "<h>"
},
"name": "view_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | Yes | ||
| w | Yes | ||
| x | Yes | ||
| y | Yes | ||
| max_side | No | ||
| canvas_id | Yes | ||
| manifest_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |