recolor_palette
Recolor a sprite's palette by providing a mapping of original colors to replacement colors. Apply color substitutions to an image file.
Instructions
Recolors the palette based on a mapping of from->to colors
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": {
"saveOutput": "<saveOutput>",
"mapping": "<mapping>",
"inputFile": "<inputFile>"
},
"name": "recolor_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapping | Yes | ||
| inputFile | Yes | ||
| saveOutput | Yes |