color_get_version_count
Find how many grade versions a timeline clip has by providing its exact name, track, and version type. Useful for managing color grading variants in DaVinci Resolve.
Instructions
Return the number of grade versions on a timeline item.
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": {
"item_name": "<item_name>"
},
"name": "color_get_version_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_name | Yes | Exact name of the timeline clip. | |
| track_type | No | Track type (default "video"). | video |
| track_index | No | 1-based track number (default 1). | |
| version_type | No | 0 for local versions, 1 for remote versions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |