render_preview
Generate a side-by-side Before/After JPEG preview of a Color DNA applied to an image, with optional slider overrides, without using Lightroom.
Instructions
Render a fast side-by-side Before/After JPEG preview applying a Color DNA onto an image without Lightroom.
Args: image_path: Source photo path (.jpg, .png, .webp). dna_id: Color DNA ID to simulate. output_preview_path: Destination JPEG path for the Before/After comparison. slider_overrides: Optional slider tweaks to preview before exporting XMP. 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>",
"dna_id": "<dna_id>",
"output_preview_path": "<output_preview_path>"
},
"name": "render_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dna_id | Yes | ||
| image_path | Yes | ||
| catalog_path | No | ||
| slider_overrides | No | ||
| output_preview_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |