reaper_export_midi_file
Exports selected MIDI tracks/items and the project tempo/time-signature map from live REAPER to a .mid file for use in other DAWs or MIDI software.
Instructions
Export MIDI tracks/items and project tempo/time-sig map from live REAPER to a .mid file on disk.
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": {
"output_path": "<output_path>"
},
"name": "reaper_export_midi_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tracks | No | ||
| output_path | Yes | ||
| ticks_per_beat | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |