Program a drum beat
program_drumsShows a 16-step drum beat (one bar of sixteenth notes) as a card that plays it and lets the user change it. Use for a drum beat, groove or pattern in a style and tempo.
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": {
"style": "<style>",
"bpm": "<bpm>",
"swing": "<swing>",
"pattern": "<pattern>"
},
"name": "program_drums"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bpm | Yes | ||
| style | Yes | The style for the card, e.g. 'Trap' or 'Boom bap' | |
| swing | Yes | Swing in percent: 0 straight, 15–30 for hip hop and lo-fi | |
| pattern | Yes | One string of 16 steps per sound, x for a hit, e.g. kick 'x.....x...x..x..'. Leave out sounds you do not use. |