Lock or unlock all tracks
set_all_tracks_lockLock or unlock all video and/or audio tracks in a Premiere Pro sequence with one call; returns changed track counts and locked track indices.
Instructions
Lock or unlock every video and/or audio track of a sequence in one call. Returns how many tracks changed and the locked track indices per type afterwards.
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": {
"locked": "<locked>"
},
"name": "set_all_tracks_lock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locked | Yes | true = lock every track in scope, false = unlock them. | |
| track_type | No | Which tracks to act on: "video", "audio" or "both". Omit for "both". | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. |