paint_region
Defines named rectangular document regions and stores them in a project so snapshots can compare stable image details across preview views.
Instructions
Named document region [left,top,right,bottom], stored in project. Use paint_snapshot(region=name) for stable detail comparisons across preview views.
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": {
"name": "<name>"
},
"name": "paint_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| action | No | define | |
| rectangle | No | ||
| document_id | No | Target this document instead of the shared active one (recommended when several agents share the server) |