set_palette
Replace a sprite's entire color palette with a given list of colors to apply programmatic color updates for Aseprite pixel art and animation projects.
Instructions
Replace the entire palette with the given list of colours.
colors: list of colour strings, e.g. ["#000000", "#ffffff", "255,0,0"].
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>",
"colors": "<colors>"
},
"name": "set_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colors | Yes | ||
| filename | Yes |