Recolour to a palette
remap_paletteRecolour an existing pixel art image so every pixel uses a colour from a specified palette, such as PICO-8 or Game Boy, while preserving the original size.
Instructions
Recolour an existing pixel art image so every pixel uses a colour from the given palette (e.g. PICO-8 or Game Boy). Size is kept.
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": {
"input": "<input>",
"palette": "<palette>"
},
"name": "remap_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Path or URL of a PNG or JPEG image | |
| output | No | Where to save the PNG | |
| palette | Yes | Palette name (pico-8, sweetie-16, endesga-32, game-boy, 1-bit) or hex colours like "#1a1c2c,#5d275d" |