Remove empty tracks
remove_empty_tracksDeletes empty video or audio tracks from a Premiere Pro sequence, optionally for one track type, and returns removed and remaining track counts.
Instructions
Delete every track of a sequence that has no clips (Premiere's Delete Tracks > All Empty Tracks), optionally only video or audio. Premiere always keeps at least one track of each type. Returns removed_video, removed_audio and the remaining track counts. Use delete_track for one specific track.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "remove_empty_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |