sample_color
Reads the RGBA and hex color of a single pixel at given coordinates, optionally from a specified layer, to inspect exact colors in a Krita image.
Instructions
Colour (rgba + '#rrggbbaa') of one pixel of the visible image, or of a single layer if given.
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": "sample_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| layer | No |