write_drum_pattern
Writes GM-layout drum patterns into Ableton Live Drum Rack clips, letting you choose style, bar length, velocity, fills, and pad note remaps.
Instructions
Write a drum pattern for a Drum Rack (GM layout: kick 36, rim 37, snare 38, hat 42, crash 49). style: ballad, pop, halftime, six_eight, brush_rim, four_floor, fill. notes remaps pads, e.g. {"crash": 48} — get_drum_pads shows what each pad holds.
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": {
"track_index": "<track_index>",
"clip_index": "<clip_index>"
},
"name": "write_drum_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | No | ||
| seed | No | ||
| notes | No | ||
| style | No | ballad | |
| velocity | No | ||
| clip_index | Yes | ||
| crash_first | No | ||
| track_index | Yes | ||
| fill_last_bar | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |