resize_palette
Resize a sprite's palette to a specified number of entries, enabling color reduction or expansion for pixel art projects.
Instructions
Resize a sprite's palette to a new number of entries
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>",
"newSize": "<newSize>"
},
"name": "resize_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Sprite file | |
| newSize | Yes | New palette size | |
| savePath | No | Path to save |