analyze_photo
Analyze a photo's luminance, dynamic range, and RGB color cast to get ranked Color DNA recommendations for matching Lightroom/Camera Raw color looks.
Instructions
Analyze an input photo's luminance, dynamic range, and RGB color cast, and recommend matching Color DNAs.
Args: image_path: Path to the target photo (.jpg, .png, .webp). top_k: Number of recommended Color DNA profiles to return (default: 3). catalog_path: Optional custom path to color_dna_catalog.json.
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": {
"image_path": "<image_path>"
},
"name": "analyze_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | ||
| image_path | Yes | ||
| catalog_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |