draw_pixels
Plot individual pixels at exact x, y coordinates in Aseprite to create or edit pixel art, with per-pixel colors and optional PNG previews.
Instructions
Plot individual pixels at exact (x, y) coordinates.
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": {
"file": "<file>",
"pixels": "<pixels>"
},
"name": "draw_pixels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| color | No | Default color when a pixel omits its own color. | |
| frame | No | ||
| layer | No | ||
| pixels | Yes | Array of pixel objects { x, y, color? }. | |
| preview | No | Return an inline PNG preview in the same Aseprite call (true or options object). |