clear_clip_notes
Remove all MIDI notes from one Session clip and report the resulting delta, emptying the clip without deleting it in a single Live undo step.
Instructions
Remove every MIDI note from one Session clip and report the observed delta.
Side effects: clears notes in one Live undo step.
Example: clear_clip_notes(0, 1) empties a MIDI clip without deleting it.
Edge cases: empty or audio clips return structured errors.
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>",
"clip_index": "<clip_index>"
},
"name": "clear_clip_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_index | Yes | ||
| track_index | Yes |