create_clip_automation_curve
Generate a clip automation envelope in Ableton Live from control points, expanding them into a stepped curve for a chosen device parameter.
Instructions
Write a smooth envelope from a handful of control points.
Side effects: replaces one clip envelope in one Live undo step.
Example: create_clip_automation_curve(38, 0, "FILTER", [{"time": 0, "value": 12}, {"time": 16, "value": 110}], shape="exp")
expands into contiguous steps on the server.
Edge cases: Live's envelopes are stepped, so the expansion is a dense
staircase capped at 500 steps; raise resolution if it overflows.
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>",
"parameter_name": "<parameter_name>",
"control_points": "<control_points>"
},
"name": "create_clip_automation_curve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shape | No | linear | |
| clip_index | Yes | ||
| resolution | No | ||
| track_index | Yes | ||
| device_index | No | ||
| control_points | Yes | ||
| parameter_name | Yes |