edit_drum_pattern_clip
Replace selected drum lanes and bars in a MIDI clip while preserving unrelated notes. Dry-run planning and confirmed execution guard changes.
Instructions
Plan or apply guarded replacement of selected drum lanes and bars in an existing MIDI clip. Preserves unrelated notes and verifies the complete native note set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | Yes | ||
| grid | Yes | ||
| lanes | Yes | Drum lanes to replace inside the selected bars. | |
| clipId | Yes | Stable clip ID: track-N:clip-M from list_clips, or track-N:arrangement-clip-M from list_arrangement_clips for tools that support Arrangement clips. | |
| dryRun | No | Omit or true to return a plan; false requires a valid confirmationToken. | |
| trackId | Yes | Stable track ID returned by list_tracks. | |
| planHash | No | Hash returned by the matching dry run. | |
| startBar | Yes | ||
| confirmationToken | No | Short-lived, single-use token returned by the matching dry run. | |
| expectedStateVersion | Yes | Exact stateVersion observed immediately before planning. |