match_palettes
Unify colors across open sprites or files by merging near-duplicate shades into the most-used color within a tolerance, preserving alpha and adding one undo step per sprite.
Instructions
Put sprites of one character or set on one shared palette: colours closer
than tolerance that stand in for each other (one sprite uses one, another
sprite the other) merge into whichever is used most, across the open
sprites (live; only picks them by filename or tag) or files. Alpha is kept. One undo step per sprite. Check
first with check_consistency.
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": "match_palettes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| only | No | ||
| files | No | ||
| tolerance | No |