generate_and_place_drums
Generate a drum pattern and place it into a MIDI clip on a specified track and slot. Supports multiple styles and patterns with adjustable variation.
Instructions
Generate a drum pattern and place it into a MIDI clip. Uses GM drum mapping (kick=36, snare=38, hihat=42, etc.). Set up your Drum Rack with matching pad assignments.
pattern: 'four_on_floor', 'boom_bap', 'trap', 'dnb', 'rock', 'shuffle', 'bossa_nova' or derived from style if omitted. variation: 0.0–1.0, adds random additional hits beyond the base pattern
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>",
"slot_index": "<slot_index>"
},
"name": "generate_and_place_drums"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| slot_index | Yes | ||
| style | No | electronic | |
| pattern | No | ||
| length_bars | No | ||
| variation | No | ||
| replace_existing | No | ||
| seed | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |