set_envelope
Set a track's volume automation envelope from time/value points; conflict checks stop overwrites of edits made since your last read.
Instructions
Set the volume automation envelope for a track from [{time, value}] points.
Submits a SetEnvelope document command (same lock, conflict check, undo
history, and GUI fanout as a DAW edit). expected_points is the
[{id, time, value}] list you last read; if the envelope changed since,
the call fails with a conflict instead of overwriting the edit. When
omitted, the envelope as read at call time is the baseline.
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_id": "<track_id>",
"points": "<points>"
},
"name": "set_envelope"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | ||
| track_id | Yes | ||
| project_path | No | ||
| expected_points | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |