insert_midi_notes
Add notes to an existing Session or Arrangement MIDI clip without rewriting existing notes; preserves timing/playback and rejects same-pitch overlaps.
Instructions
Add explicit notes to an existing Session/Arrangement MIDI clip without rewriting existing notes. Rejects same-pitch overlaps, stale sources, recording/count-in, frozen or pending targets. Preserves timing/playback. Reports partial native work without rollback or replay; all profile.
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>",
"notes": "<notes>"
},
"name": "insert_midi_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | Explicit additions in absolute clip beats; optional deviation 0, release velocity 64, probability 1 and mute false. | |
| 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. | |
| confirmationToken | No | Single-use plan token. | |
| expectedStateVersion | Yes | Observed stateVersion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||