Batch commandsbatch_commands
Preflight 1–128 wire commands, then execute them in one round-trip (no automatic rollback).
batch_commandsMay change state · Review destructive effects
Preflight 1–128 wire commands, then execute them in one round-trip (no automatic rollback). Native Live Undo can split a batch into multiple steps; inspect after one history(action='undo') before deciding whether another is needed. Supply `operation_id` to deduplicate retries within the last 256 mutation receipts. Track commands accept `expected_track_id` from get_session_snapshot. `commands = [{"type": "<wire_cmd>", "params": {...}}, ...]` uses Live bridge command names, e.g. `set_tempo`, `create_midi_track`, `create_audio_track`, `set_track_name`, `set_track_volume`, `set_track_pan`, `set_track_mute`, `set_track_solo`, `set_send`, `create_clip`, `write_midi_clip`, `edit_notes`, `set_device_parameter`, `insert_device`, `move_device`, `duplicate_to_arrangement`, `get_arrangement_clips`, `get_device_parameters`. Transport, locators, save, undo/redo, search_browser, and composite tools require standalone calls.
Arguments 3
| Name | Type | Required / default |
|---|---|---|
commands | object[] | Required |
operation_id | string | null | Defaultnull |
require_single_undoReject any batch except reads and at most one verified rename, pan, or inactive native Utility Gain/Output action. | boolean | Defaultfalse |
Exact input schema JSON
{
"properties": {
"commands": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Commands",
"type": "array"
},
"operation_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Operation Id"
},
"require_single_undo": {
"default": false,
"description": "Reject any batch except reads and at most one verified rename, pan, or inactive native Utility Gain/Output action.",
"title": "Require Single Undo",
"type": "boolean"
}
},
"required": [
"commands"
],
"title": "batch_commandsArguments",
"type": "object"
}Exact behavior hints JSON
{
"destructiveHint": true
}