insert_audio_file
Import audio or MIDI files onto a REAPER track by specifying the file path, target track, and optional start bar or beat.
Instructions
Imports an audio or MIDI file onto a track.
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": {
"path": "<path>",
"track": "<track>"
},
"name": "insert_audio_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full path of an audio (wav, flac, mp3, aiff, ogg...) or MIDI file | |
| track | Yes | Track number (1 = top), track name, or "master" | |
| start_bar | No | Default: the edit cursor | |
| start_beat | No | Beat within the bar, 1-based (default 1) |