create_drum_pattern
Generates and plays drum grooves—four-on-floor, breakbeat, shuffle, half-time, two-step, random, or custom patterns—with tempo, swing, volume, and effects controls.
Instructions
Play a drum groove: four_on_floor, breakbeat, shuffle, half_time, two_step, random, or a custom pattern.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_drum_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | No | Number of 4/4 bars (16 steps each) | |
| seed | No | Random seed for a reproducible result; omit for a new one | |
| swing | No | Delay of off-beat 16ths; 0.33 = shuffle | |
| tempo | No | Beats per minute | |
| custom | No | Your own pattern instead of pattern_type: lanes kick, snare, hat, open_hat, perc, one character per 16th step: X accent, x hit, o ghost, . rest. Example: {'kick': 'X...x...X...x...', 'snare': '....X.......X...'} | |
| volume | No | Loudness, 0..1 | |
| effects | No | Optional effect chain | |
| pattern_type | No | four_on_floor |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |