read_pixels
Reads exact pixel colors from a small block (up to 1024 pixels) in a Krita image, enabling precise inspection of specific regions for analysis or editing.
Instructions
Exact colours of a small block (max 1024 pixels), rows top to bottom.
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": {
"x": "<x>",
"y": "<y>"
},
"name": "read_pixels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| layer | No | ||
| width | No | ||
| height | No |