get_palette
Retrieve a sprite's color palette as '#rrggbbaa' hex values, starting at index 0, to inspect or reuse exact colors in pixel art workflows.
Instructions
Returns the sprite palette as '#rrggbbaa' colors (index 0 first).
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": "get_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| sprite | No | File path, open tab title, or sprite id. Defaults to the active sprite (live). Batch mode needs a file path. | |
| backend | No | auto (default): live Aseprite if connected, else headless batch |