Clear track
clear_trackRemoves all clips from a single video or audio track while keeping the track intact, without rippling or shifting other tracks. Returns the track state and the number of clips removed.
Instructions
Remove every clip from one track and keep the track itself. Other tracks are not shifted (no ripple), and linked clips on other tracks stay. Fails with FAILED on a locked track. Returns the track state and removed (number of clips). Use delete_track to remove the track too.
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": "clear_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. |