delete_item
Remove any media item from a REAPER track. Provide the track index and item location (position index or internal ID) to target the exact clip for deletion.
Instructions
Delete a media item from a track.
Item Identification - Accepts BOTH types:
track_pos_idx (integer): Simple index like 0, 1, 2
direct_item_id (string): Internal ID like "MediaItem*0x..."
Args: track_index: Index of the track item: EITHER integer track_pos_idx OR string direct_item_id
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |