palette_from_sprite
Derive a new hex color palette from a sprite's actual pixels using Aseprite color quantization, with a configurable maximum color count and one undo step.
Instructions
Derive the palette FROM the sprite's actual pixels (Aseprite's color
quantization) — the inverse of quantize_to_palette. Returns the new
palette as hex. 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": "palette_from_sprite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| max_colors | No |