get_pixel_color
Read the exact RGBA color of a pixel from a specific cel by providing filename, x, and y coordinates. Retrieve precise pixel data for verification or color sampling in your Aseprite project.
Instructions
Read one RGBA pixel from a cel.
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": {
"filename": "<filename>",
"x": "<x>",
"y": "<y>"
},
"name": "get_pixel_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| filename | Yes | ||
| layer_name | No | ||
| frame_index | No |