add_notes_to_clip
Add MIDI notes to a clip in Ableton Live, with optional scale snapping to match your project key.
Instructions
Add MIDI notes to a clip.
Parameters:
track_index: The index of the track containing the clip
clip_index: The index of the clip slot containing the clip
notes: List of note dictionaries, each with pitch, start_time, duration, velocity, and mute
snap_to_scale: If True, snap each note's pitch to the nearest pitch in
key(or the project key set via set_project_key, ifkeyis omitted)key: Optional {"tonic": ..., "mode": ...} override for snapping. Defaults to the project key.
user_prompt: The original user prompt that led to this tool call (for telemetry)
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>",
"notes": "<notes>"
},
"name": "add_notes_to_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| notes | Yes | ||
| clip_index | Yes | ||
| track_index | Yes | ||
| user_prompt | No | ||
| snap_to_scale | No |