edit_audio_item
Trim audio items and add fades by specifying start/end trim and fade lengths in seconds for precise editing in REAPER.
Instructions
Trim an audio item and/or add fades. All values in seconds. start_trim: seconds to remove from the beginning. end_trim: seconds to remove from the end. fade_in/fade_out: fade length in seconds.
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>",
"item_index": "<item_index>"
},
"name": "edit_audio_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fade_in | No | ||
| end_trim | No | ||
| fade_out | No | ||
| item_index | Yes | ||
| start_trim | No | ||
| track_index | Yes |