load_palette
Apply a palette from a file to an existing sprite, changing its color scheme to match the imported palette.
Instructions
Load a palette from a file into a sprite
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": {
"filePath": "<filePath>",
"palettePath": "<palettePath>"
},
"name": "load_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Sprite file | |
| palettePath | Yes | Path to palette file (.gpl, .pal, .aseprite, .png, etc.) | |
| savePath | No | Path to save |