delete_clip
Remove an occupied Session clip slot in Ableton Live, deleting the clip in a single undo step. Empty slots return BAD_INPUT.
Instructions
Delete one occupied Session clip slot.
Side effects: deletes a clip in one Live undo step.
Example: delete_clip(0, 1) removes the clip in slot one.
Edge cases: empty slots return BAD_INPUT.
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>"
},
"name": "delete_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_index | Yes | ||
| track_index | Yes |