track_delete_batch
Remove one, multiple, or all tracks in a single call, with automatic handling of deletion order and error reporting for invalid indices.
Instructions
Delete one track, several, or all of them, in one call.
Destructive: on a project that already has content, confirm with the user before calling. A project backup is taken first.
Args: entries: JSON array. Each entry has exactly one of: {"all": true} delete every track {"track_index": 3} delete one track {"track_indices": [0, 2, 5]} delete several Indices are 0-based and refer to the track numbering as it is when the call starts; deletion order is handled for you, so entries can overlap or come in any order. The master track can't be deleted. A bad index is recorded in the response's errors array and does not abort the rest. The response lists what was deleted (original index and name).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | Yes |