set_palette_colors
Assign specific RGBA colors to palette indices of an Aseprite sprite file, enabling precise color control in pixel art.
Instructions
Set colors in a sprite's palette
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": {
"filePath": "<filePath>",
"colors": "<colors>"
},
"name": "set_palette_colors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Sprite file | |
| colors | Yes | Array of palette entries to set | |
| savePath | No | Path to save |