sort_palette
Reorder palette swatches by luminance, hue, or saturation to organize RGB sprite colors; use on indexed sprites only if you intend to change displayed colors since indices are not remapped.
Instructions
Reorder palette swatches by luminance (default), hue, or
saturation. Intended for RGB sprites' swatch organization — on an
INDEXED sprite this changes which color each pixel shows (indices aren't
remapped). One undo step.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sort_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | luminance | |
| file | No | ||
| ascending | No |