set_cdl
Apply CDL slope, offset, power, and saturation values to a specific node within a video clip's node graph for color correction.
Instructions
Apply CDL values to a specific clip's node.
Args: clip_index: 1-based index of the clip on video track 1. node_index: Index of the node within the clip's node graph. slope: Slope values as space-separated RGB string (e.g. '1.0 1.0 1.0'). offset: Offset values as space-separated RGB string (e.g. '0.0 0.0 0.0'). power: Power values as space-separated RGB string (e.g. '1.0 1.0 1.0'). saturation: Saturation value as string (e.g. '1.0').
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": {
"clip_index": "<clip_index>",
"node_index": "<node_index>",
"slope": "<slope>",
"offset": "<offset>",
"power": "<power>"
},
"name": "set_cdl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| power | Yes | ||
| slope | Yes | ||
| offset | Yes | ||
| clip_index | Yes | ||
| node_index | Yes | ||
| saturation | No | 1.0 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |