create_midi_clip
Plan or create a MIDI clip in an exact empty Ableton Live Session slot with notes and guarded confirmation.
Instructions
Plan or create a MIDI clip in an exact empty Session slot.
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>",
"clipId": "<clipId>",
"lengthBeats": "<lengthBeats>",
"notes": "<notes>"
},
"name": "create_midi_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional clip name. | |
| notes | Yes | Initial MIDI notes. | |
| clipId | Yes | list_clips Session ID or supported list_arrangement_clips ID. | |
| dryRun | No | False executes with token and hash. | |
| trackId | Yes | ID from list_tracks. | |
| planHash | No | Plan hash. | |
| lengthBeats | Yes | Clip length. | |
| confirmationToken | No | Single-use plan token. | |
| expectedStateVersion | Yes | Observed stateVersion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||