clip_action
Modify Ableton clips by cropping, duplicating, quantizing, adjusting warp markers, or converting audio to MIDI and drum racks.
Instructions
Run a clip function. Actions and args: crop (keeps the loop, or the marker range); duplicate_loop (doubles the loop and its content); duplicate_region {start, length, destination, pitch?, transpose?} (MIDI); quantize {grid "1/16", amount 0..1, pitch?} (MIDI notes, or audio warp markers; uses the song's swing); add_warp_marker {beat_time, sample_time? seconds}, move_warp_marker {beat_time, distance}, remove_warp_marker {beat_time}; audio_to_midi {type: melody|harmony|drums, name?}, drum_rack_from_audio {name?}, simpler_track_from_audio {name?} (these create a new track and return it).
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": "<track>",
"action": "<action>"
},
"name": "clip_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| slot | No | ||
| track | Yes | ||
| action | Yes | ||
| arrangement_clip | No |