render
Exports REAPER project mixes or selected tracks as WAV/MP3 files, with options for stems, time bounds, output paths, loudness measurement, and safe overwrite checks.
Instructions
Render. No undo. Long timeout. bounds: project | time_selection | custom | items. Default: the master mix. stems=true renders the selected tracks as stems instead (pass track_indices to select them). path is the output folder; the file name comes from pattern. Sets all media online (action 40101) first unless media_online=false. Refuses when a target file already exists (REAPER's overwrite prompt would hang the bridge) and when tracks are soloed (pass allow_solo=true, or solo_indices / mute_indices to solo/mute tracks for this render only; they are restored afterwards). Returns files [{path, bytes, length_sec, peak_db, lufs_i}] and warnings (near-silent, missing file, master muted); measure=false skips the loudness scan. format wav (bit_depth 16 | 24 | 32 = float) or mp3 (320 kbps) sets the file type for this render only; without it the project's render format is used.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| stems | No | ||
| bounds | No | ||
| format | No | ||
| measure | No | ||
| pattern | No | ||
| channels | No | ||
| bit_depth | No | ||
| end_beats | No | ||
| allow_solo | No | ||
| sample_rate | No | ||
| start_beats | No | ||
| media_online | No | ||
| mute_indices | No | ||
| solo_indices | No | ||
| track_indices | No |