Extract Dominant Color & Image Stats
image_palette_statsAnalyze local images to extract dominant hex/RGB colors, per-channel statistics, opacity, and entropy, enabling design tokens and UI engineering decisions.
Instructions
Analyze a local image for dominant hex/RGB color, per-channel statistics, opacity, and entropy — ideal for design tokens and UI engineering agents.
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": {
"inputPath": "<inputPath>"
},
"name": "image_palette_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputPath | Yes | Local image file path |