bitwig_edit_clip
Edit an existing launcher clip on one exact track: change its name, loop, or color, and add, modify, or delete individual notes while verifying untouched notes stay unchanged.
Instructions
Change an existing launcher clip on one exact track without rewriting it: set name, loop (start, length, on/off) or color; add or change single notes (setNotes, matched by beat, pitch and channel; only given fields change); delete single notes (removeNotes). The whole clip is read before and after; every untouched note must come back unchanged, or the call fails with the exact differences.
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": {
"trackId": "<trackId>"
},
"name": "bitwig_edit_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loop | No | Loop region and on/off; this is how a launcher clip's length is changed | |
| name | No | ||
| color | No | Clip color as #RRGGBB | |
| trackId | Yes | Track id from bitwig_tracks; it stays the same when the track is renamed or moved | |
| setNotes | No | Notes to add, or to change where a note already starts on that cell | |
| slotIndex | No | Launcher slot (scene) index, 0-based | |
| removeNotes | No | Notes to delete; each must exist | |
| stepsPerBeat | No | Grid resolution for note starts in steps per beat (4 = 1/16 at 4/4, 96 for fine timing). Every note start must lie on this grid. Clip span × stepsPerBeat may not exceed 16384 |