clip_edit
Edit Ableton Live clips by quantizing, cropping, duplicating loops, regions, or notes, selecting notes, moving the playhead, and toggling launch, grid, loop, or envelope views.
Instructions
Clip editing: quantize, crop, duplicate loop/region/notes, note selection, playhead move/scrub, launch-button state, clip view grid, show loop or an envelope.
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": {
"action": "<action>"
},
"name": "clip_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | No | Clip ref/path (e.g. 'id 123'); alternative to track+slot | |
| grid | No | quantize: '1/4', '1/8', '1/8T', '1/8+1/8T', '1/16' (default), '1/16T', '1/16+1/16T', '1/32'; set_grid: 'none', '8 bars', '4 bars', '2 bars', '1 bar', '1/2', '1/4', '1/8', '1/16', '1/32' | |
| slot | No | ||
| beats | No | move_playing_pos / scrub position in beats | |
| pitch | No | quantize_pitch: only this pitch; duplicate_region: only this pitch (-1/None = all) | |
| state | No | fire_button: pressed state | |
| track | No | ||
| action | Yes | ||
| amount | No | Quantize strength | |
| note_ids | No | ||
| parameter | No | DeviceParameter path/ref, e.g. 'track 0 devices 1 parameters 3', 'track 2 mixer_device volume', or a ref 'id 88' from get_device | |
| region_start | No | ||
| region_length | No | ||
| transposition | No | ||
| grid_is_triplet | No | ||
| destination_time | No |