get_color_stats
Analyze color usage in a frame of an Aseprite asset and return JSON statistics, including the top colors by count.
Instructions
Return JSON color usage statistics for one flattened frame.
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": {
"filename": "<filename>"
},
"name": "get_color_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| filename | Yes | ||
| frame_index | No |