set_track_routing
Set a track's input, output, and monitoring in Ableton Live, leaving omitted settings untouched. Use it to route MIDI to instruments, record resampling, or send audio to returns and other tracks.
Instructions
Set a track's input/output routing and monitoring. Arguments left out are untouched. Names are matched against the options get_track_routing lists: exact (case-insensitive) first, else a unique substring.
Examples:
Layer one MIDI part on several instruments: on each extra MIDI track, input_type="", monitoring="in".
Record the main output (resampling): on an audio track, input_type="Resampling" (French Live: "Rééchantillonnage").
Send a track to a return or another track: output_type="".
Parameters:
track_index: Index of the track (return index for "return")
input_type / input_channel: Input routing ("MIDI From" / "Audio From")
output_type / output_channel: Output routing ("MIDI To" / "Audio To")
monitoring: "in", "auto" or "off"
track_type: "track" (default), "return" or "master" (output only)
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>"
},
"name": "set_track_routing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_type | No | ||
| monitoring | No | ||
| track_type | No | track | |
| output_type | No | ||
| track_index | Yes | ||
| input_channel | No | ||
| output_channel | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |