set_palette_color
Set a palette entry at a specific index to a hex color (#rrggbb or #rrggbbaa), letting you correct or update individual palette slots in an Aseprite file.
Instructions
Set palette entry index to color (#rrggbb or #rrggbbaa).
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 |
|---|---|---|---|
| file | No | ||
| color | Yes | ||
| index | Yes |