lock_track
Lock or unlock a specific video, audio, or subtitle track by providing its type and 1-based index.
Instructions
Lock or unlock a track in the current timeline.
Args: track_type: Type of track: 'video', 'audio', or 'subtitle'. index: 1-based index of the track. locked: True to lock, False to unlock.
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>",
"index": "<index>",
"locked": "<locked>"
},
"name": "lock_track"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| locked | Yes | ||
| track_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |