timeline_set_track_locked
Lock or unlock video, audio, or subtitle tracks in the current DaVinci Resolve timeline by specifying track type and index. Prevent accidental edits or enable modifications.
Instructions
Lock or unlock a track in the current timeline.
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": {
"track_type": "<track_type>",
"track_index": "<track_index>",
"locked": "<locked>"
},
"name": "timeline_set_track_locked"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locked | Yes | True to lock the track, False to unlock it. | |
| track_type | Yes | One of "video", "audio", or "subtitle". | |
| track_index | Yes | 1-based index of the track. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |