photo_set_cdl
Applies a primary ASC CDL correction (slope, offset, power, saturation) to a photo and saves a grade version first.
Instructions
Primary correction on a photo via ASC CDL (slope/offset/power/saturation). A grade version is saved first.
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": {
"photo": "<photo>"
},
"name": "photo_set_cdl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| album | No | Album name or id (default: current album) | |
| photo | Yes | Photo name, id or 1-based index in the album | |
| power | No | ||
| slope | No | ||
| offset | No | ||
| nodeIndex | No | ||
| saturation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True only when DaVinci Resolve confirmed the operation. | |
| data | No | ||
| tool | Yes | ||
| error | No | ||
| source | No | Where the result came from: the real DaVinci Resolve, the mock adapter (tests), or the server alone. | |
| status | Yes | ||
| message | Yes | ||
| warnings | Yes |