set_midi_clip_markers
Define start and end markers for a loop-enabled MIDI clip in absolute source beats. Leaving a bound out keeps it unchanged, preserving notes and loop settings.
Instructions
Set start/end markers of one loop-enabled Session or Arrangement MIDI clip in absolute source beats. Omitted bound stays unchanged. Preserves stored notes and loop settings; same values make no write. Native guards and partial readback; no automatic rollback.
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>"
},
"name": "set_midi_clip_markers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| endBeats | No | Native end marker above start. | |
| planHash | No | Plan hash. | |
| startBeats | No | Native start marker; at least one marker required. | |
| confirmationToken | No | Single-use plan token. | |
| expectedStateVersion | Yes | Observed stateVersion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||