Delete track
delete_trackDelete a video or audio track and all clips on it from a Premiere Pro sequence; higher tracks shift down, while locked or last-of-type tracks are refused.
Instructions
Delete one track from a sequence together with every clip on it. Higher tracks of that type shift down by one index. The last track of a type cannot be deleted (UNSUPPORTED), and a locked track is refused with FAILED (unlock it with set_track_lock first). Returns the deleted track (with its clip_count) and the new track counts. Use remove_empty_tracks to drop all empty tracks, clear_track to keep the track but remove its clips.
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>"
},
"name": "delete_track"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_type | Yes | Track type: "video" or "audio". | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| track_index | Yes | 0-based track index (0 = V1 or A1). | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. |