delete_track
Remove a specific track in REAPER by its zero-based index. Use this to delete unwanted tracks while protecting the master track.
Instructions
Delete a track.
Args: track_index: Track index to delete (0-based). Cannot delete master track (-1).
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_index": "<track_index>"
},
"name": "delete_track"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes |