create_drum_pattern_clip
Plans and creates an exact multi-lane drum pattern in an empty Ableton Session clip, with specified grid, bars, velocities, and note gates. Use dry-run to preview, then confirm to execute.
Instructions
Plan or create one exact multi-lane drum pattern in an empty Session clip. Binds current meter, tempo, grid, lanes, destination, and state; native execution verifies every generated note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | Yes | ||
| grid | Yes | ||
| name | Yes | New drum clip name. | |
| lanes | Yes | Explicit drum lanes and their per-bar steps. | |
| 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. | |
| startBeat | No | Absolute clip beat offset; defaults to zero. | |
| confirmationToken | No | Short-lived, single-use token returned by the matching dry run. | |
| expectedStateVersion | Yes | Exact stateVersion observed immediately before planning. |