edit_drum_pattern_clip
Plan or apply guarded replacement of selected drum lanes and bars in an existing MIDI clip, preserving unrelated notes and verifying the full note set.
Instructions
Plan or apply guarded replacement of selected drum lanes and bars in an existing MIDI clip. Preserves unrelated notes and verifies the complete native note set.
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": {
"expectedStateVersion": "<expectedStateVersion>",
"trackId": "<trackId>",
"clipId": "<clipId>",
"grid": "<grid>",
"startBar": "<startBar>",
"bars": "<bars>",
"lanes": "<lanes>"
},
"name": "edit_drum_pattern_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | Yes | ||
| grid | Yes | ||
| lanes | Yes | Drum lanes to replace inside the selected bars. | |
| clipId | Yes | list_clips Session ID or supported list_arrangement_clips ID. | |
| dryRun | No | False executes with token and hash. | |
| trackId | Yes | ID from list_tracks. | |
| planHash | No | Plan hash. | |
| startBar | Yes | ||
| confirmationToken | No | Single-use plan token. | |
| expectedStateVersion | Yes | Observed stateVersion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||