set_palette_color
Update a specific palette index with a new hex color to adjust pixel art palettes in Aseprite. Use it to change one color at index 0-255 without rewriting the whole palette.
Instructions
Updates the color at a specific palette index.
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": {
"index": "<index>",
"color": "<color>"
},
"name": "set_palette_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | New hex color e.g. #FF0000FF | |
| index | Yes | Palette color index (0-255) |