set_palette
Apply a given hexadecimal color palette to an Aseprite document to enforce a controlled set of colors.
Instructions
Apply a controlled hexadecimal palette to a document.
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 |