colors_inspect
List the actual colors in image files, sorted by frequency and luminance, to identify duplicates, anti-aliasing noise, and prepare for region mapping.
Instructions
List the colours actually used in files, sorted by frequency, with luminance — the raw material for canon_init/canon_learn decisions. Use it to spot near-duplicate colours, anti-aliasing noise, and which hexes belong to which visual part before defining regions.
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": {
"files": "<files>"
},
"name": "colors_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | how many colours to list (default 40) | |
| cellH | No | spritesheet cell height (PNG sheets only) | |
| cellW | No | spritesheet cell width (PNG sheets only) | |
| files | Yes |