run_batch
Execute multiple tool steps in a single call so one undo reverts the entire batch, with optional stop_on_error to halt at the first failure.
Instructions
Run several tools in one call as ONE undo step in Live (one Ctrl+Z reverts them all). steps: [{"tool": "create_midi_track", "args": {"index": -1}}, {"tool": "set_track_name", "args": {"track_index": 3, "name": "Pad"}}, ...]. Results come back in order; with stop_on_error the batch stops at the first failure (earlier steps stay applied — call undo once to revert the batch). Desktop, export and analysis tools can't be batched.
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": {
"steps": "<steps>"
},
"name": "run_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | ||
| stop_on_error | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |