add_palette_color
Append a color to an Aseprite palette and return its new index. Extend palettes programmatically for pixel art projects.
Instructions
Append color to the palette and return its new 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": {
"color": "<color>"
},
"name": "add_palette_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| color | Yes |