apply_midi_chord_voice_leading
Plan or execute chord voice leading for MIDI, moving voices to nearby octaves or preserving bass, with note readback verification for safe edits.
Instructions
Plan or apply guarded chord voice leading with complete native note readback verification.
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>",
"mode": "<mode>",
"minPitch": "<minPitch>",
"maxPitch": "<maxPitch>"
},
"name": "apply_midi_chord_voice_leading"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Lead every voice by octave or keep each chord's current bass fixed. | |
| clipId | Yes | list_clips Session ID or supported list_arrangement_clips ID. | |
| dryRun | No | False executes with token and hash. | |
| noteIds | Yes | Unique stable note IDs across complete ordered chord onsets. | |
| trackId | Yes | ID from list_tracks. | |
| maxPitch | Yes | ||
| minPitch | Yes | ||
| planHash | No | Plan hash. | |
| confirmationToken | No | Single-use plan token. | |
| expectedStateVersion | Yes | Observed stateVersion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||