blend_color_dna
Blend two or more Color DNA profiles by weight to interpolate sliders and Tone Curves, then compile the hybrid look into an Adobe Lightroom .xmp preset.
Instructions
Mathematically blend 2 or more Color DNA profiles by weight (interpolating sliders & Tone Curves) and compile the hybrid style into an Adobe Lightroom .xmp preset.
Args: weights: Mapping of Color DNA ID to weight, e.g. {"film_emulation_001": 0.7, "cinematic_teal_orange_002": 0.3}. preset_name: Display name of the preset inside Lightroom. output_xmp_path: Destination path for the compiled .xmp file. slider_overrides: Optional dict of slider tweaks applied after blending (e.g., {"GrainAmount": 12}). preview_image_path: Optional source photo path to generate a Before/After JPEG preview. preview_output_path: Optional destination path for the Before/After preview JPEG. 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": {
"weights": "<weights>",
"preset_name": "<preset_name>",
"output_xmp_path": "<output_xmp_path>"
},
"name": "blend_color_dna"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weights | Yes | ||
| preset_name | Yes | ||
| catalog_path | No | ||
| output_xmp_path | Yes | ||
| slider_overrides | No | ||
| preview_image_path | No | ||
| preview_output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |