reaper_set_track_record_input
Set a track's record input to a specified audio channel or encoded MIDI input. Configure which input source is recorded for a given track.
Instructions
Set a track's record input (audio channel or encoded MIDI input).
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>",
"input": "<input>"
},
"name": "reaper_set_track_record_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | 0-based track index | |
| input | Yes | Record input. 0 = audio input 1. Encode MIDI as 4096 + (channel * 32) + device. |