create_scale_melody_clip
Generate or plan an exact scale-degree melody in an empty Ableton Live Session clip. It binds key, meter, grid, and destination, then verifies each note during native execution.
Instructions
Plan or create one exact scale-degree melody in an empty Session clip. Binds Live key, meter, grid, destination, and state; native execution verifies every generated note.
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>",
"name": "<name>",
"grid": "<grid>",
"motifBars": "<motifBars>",
"repeats": "<repeats>",
"events": "<events>",
"gate": "<gate>",
"velocity": "<velocity>",
"basePitch": "<basePitch>",
"minPitch": "<minPitch>",
"maxPitch": "<maxPitch>"
},
"name": "create_scale_melody_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gate | Yes | Note duration as a fraction of one selected grid step. | |
| grid | Yes | ||
| name | Yes | New melody clip name. | |
| clipId | Yes | list_clips Session ID or supported list_arrangement_clips ID. | |
| dryRun | No | False executes with token and hash. | |
| events | Yes | Explicit scale-degree events; omitted grid steps are rests. | |
| repeats | Yes | ||
| trackId | Yes | ID from list_tracks. | |
| maxPitch | Yes | ||
| minPitch | Yes | ||
| planHash | No | Plan hash. | |
| velocity | Yes | Default note velocity. | |
| basePitch | Yes | MIDI pitch for scale degree one. | |
| motifBars | Yes | ||
| confirmationToken | No | Single-use plan token. | |
| expectedStateVersion | Yes | Observed stateVersion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||