get_pixel_color
Retrieve the RGBA color value of a single pixel from an Aseprite file by specifying its coordinates, layer, and frame index.
Instructions
Read the RGBA color of a single pixel.
Args: filename: Aseprite file to read x: X coordinate y: Y coordinate layer_name: Layer to read from (uses active layer when empty) frame_index: Frame index starting at 1
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 |
|---|---|---|---|
| filename | Yes | ||
| x | Yes | ||
| y | Yes | ||
| layer_name | No | ||
| frame_index | No |