set_palette
Replace an Aseprite file's entire color palette with a supplied list of #rrggbb or #rrggbbaa values, enabling consistent palette swaps for pixel art and game assets.
Instructions
Replace the whole palette with colors (list of #rrggbb/#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": {
"colors": "<colors>"
},
"name": "set_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| colors | Yes |