write_melody
Generate a melody in Ableton Live from scale degrees and beat durations by setting root, scale, octave, rhythm, velocity, and target track/clip.
Instructions
Write a melody from scale degrees (1 = root, 8 = octave up, 0 = rest) and durations in beats. Scales: major, minor, harmonic minor, melodic minor, dorian, phrygian, lydian, mixolydian, locrian, major/minor pentatonic, blues, phrygian dominant.
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>",
"root": "<root>",
"scale": "<scale>",
"degrees": "<degrees>",
"rhythm": "<rhythm>"
},
"name": "write_melody"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| scale | Yes | ||
| octave | No | ||
| rhythm | Yes | ||
| degrees | Yes | ||
| replace | No | ||
| velocity | No | ||
| clip_index | Yes | ||
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |