automation
Read, write, and clear clip automation envelopes for device and mixer parameters, and revert overridden parameters back to their automation.
Instructions
Clip automation envelopes for any device/mixer parameter: read values, write breakpoints, clear one or all; re_enable reverts an overridden parameter to its automation. Values use the parameter's raw range (see get_device min/max). Live only creates NEW envelopes on session clips. For ARRANGEMENT automation on a MIDI track: write the envelope on a session MIDI clip, then arrangement duplicate_from_session; Live turns it into the track's arrangement automation over that clip's span (device and mixer parameters; check the parameter's automation_state). Audio clips lose the 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": "automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | No | Clip ref/path (e.g. 'id 123'); alternative to track+slot | |
| slot | No | ||
| steps | No | write: explicit steps [{time, duration, value}] | |
| times | No | read: sample the envelope at these beats | |
| track | No | ||
| action | Yes | ||
| points | No | write: breakpoints [{time, value}] in clip beats; each holds until the next | |
| 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 |