apply_midi_diatonic_harmony
Adds scale-aware diatonic harmony voices to selected MIDI notes via degree offsets while preserving source notes and expression. Plans or applies changes with dry-run and token confirmation.
Instructions
Plan or apply guarded scale-aware harmony additions while preserving source notes and expression.
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>",
"noteIds": "<noteIds>",
"degreeOffsets": "<degreeOffsets>"
},
"name": "apply_midi_diatonic_harmony"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clipId | Yes | list_clips Session ID or supported list_arrangement_clips ID. | |
| dryRun | No | False executes with token and hash. | |
| noteIds | Yes | Unique stable in-scale source note IDs. | |
| trackId | Yes | ID from list_tracks. | |
| planHash | No | Plan hash. | |
| degreeOffsets | Yes | Unique signed non-zero scale-degree offsets for added harmony voices. | |
| confirmationToken | No | Single-use plan token. | |
| expectedStateVersion | Yes | Observed stateVersion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||