read_automation
Reads a Session clip's automation envelope without creating or changing it, sampling explicit times or a start/end/step grid and returning native values, parameter limits, and missing-envelope status.
Instructions
Read a Session clip envelope without creating or changing it.
Choose explicit times OR a start/end/step grid (defaults 0 to clip end, every beat); end is included only when aligned with the grid. At most 1024 finite samples within the clip per call. Returns native values, optional display text, parameter min/max/current value and has_envelope=false for a missing envelope. Samples are Live's actual stepped envelope, not a reconstruction of the supplied control points. On Live 11 an exact step boundary can return the value just before that step; sample just after the boundary to check the new value.
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>",
"device_index": "<device_index>",
"parameter": "<parameter>"
},
"name": "read_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| step | No | ||
| start | No | ||
| times | No | ||
| parameter | Yes | Parameter name or zero-based parameter index returned by get_device_parameters. | |
| clip_index | Yes | Zero-based Session-view clip-slot index on the track. | |
| track_index | Yes | Zero-based index of a regular track in the Live set. | |
| device_index | Yes | Zero-based device position in the target track's device chain. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| error | No |