crop_midi_clip
Crop a MIDI clip to the observed loop or marker interval, discarding notes or expression outside it. Requires expected state version, track ID, and clip ID; supports dry-run and confirmed execution.
Instructions
Request native MIDI crop to the observed loop or marker interval. Can discard notes/expression and change source coordinates or IDs. Binds native context and returns complete exposed readback; no automatic rollback.
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. | |
| planHash | No | Plan hash. | |
| confirmationToken | No | Single-use plan token. | |
| expectedStateVersion | Yes | Observed stateVersion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||