paint_sample
Reads exact RGBA pixel values at specified canvas points from the merged output or a chosen layer, enabling precise color sampling and verification.
Instructions
Read exact RGBA at document pixel points; merged canvas, or one layer (layer_id, or active with sample_merged=false).
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": {
"points": "<points>"
},
"name": "paint_sample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | ||
| layer_id | No | Target layer id or unique layer name; the active layer stays unchanged. Default: active layer | |
| document_id | No | Target this document instead of the shared active one (recommended when several agents share the server) | |
| sample_merged | No |