extract_palette
Extract an optimized color palette from an image, limited to a specified number of colors, and persist it for use in Aseprite projects.
Instructions
Extract and persist an optimized palette with a bounded color count.
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>"
},
"name": "extract_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| max_colors | No | ||
| with_alpha | No |