set_looper_state
Set Ableton Looper State to Stop, Record, Play, or Overdub for a track and device; plan, confirm, and verify the observed state before guarded execution.
Instructions
Plan or request one exact native Looper State choice: Stop, Record, Play, or Overdub. Native execution rechecks the complete Looper, routing, and transport snapshot before writing State; result reports the immediately observed State parameter and whether it matches the target, not an audible or quantized-boundary outcome. Record/Overdub can mutate captured audio and cannot be rolled back by restoring a parameter value. This does not promise beat-scheduled execution; verify native quantization behavior separately.
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": {
"expectedStateVersion": "<expectedStateVersion>",
"trackId": "<trackId>",
"deviceId": "<deviceId>",
"targetState": "<targetState>"
},
"name": "set_looper_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | False executes with token and hash. | |
| trackId | Yes | ID from list_tracks. | |
| deviceId | Yes | ID from list_devices. | |
| planHash | No | Plan hash. | |
| targetState | Yes | ||
| confirmationToken | No | Single-use plan token. | |
| expectedStateVersion | Yes | Observed stateVersion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||