Analyze colors & values
analyzeComputes dominant palette, mean luminance, contrast, and value histogram for the composite, a layer, or a region so you can check value structure and color harmony.
Instructions
Dominant palette (k-means), mean luminance, contrast and a value histogram of the composite or a layer/region — for checking value structure and color harmony.
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": "analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | ||
| colors | No | Palette size (default 8) | |
| region | No |