Set pixels
aseprite_set_pixelsSets individual pixels in Aseprite as a single undo step; use transparent black to erase. For larger changes, use the pixel map tool to reduce token usage.
Instructions
Sets individual pixels exactly, as a single undo step. The color '#00000000' erases a pixel. For more than a few pixels prefer aseprite_pixel_map (far fewer tokens).
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": {
"pixels": "<pixels>"
},
"name": "aseprite_set_pixels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | Frame number, 1-based (default: active frame) | |
| layer | No | Layer name (default: active layer) | |
| pixels | Yes | List of [x, y, color] |