track_set_input
Set a REAPER track's recording input by index, including mono, stereo, MIDI, or all MIDI inputs.
Instructions
Set recording input. 0-1023=mono (0=first input), +1024=stereo, 4096+=MIDI, -1=MIDI all inputs/channels.
Args: track_index: 0-based track index. input_index: -1 (MIDI all), or an I_RECINPUT value >= 0.
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_index": "<input_index>"
},
"name": "track_set_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_index | Yes | ||
| track_index | Yes |