write_automation
Write FX-parameter automation transactionally: snapshot, replace inclusive ranges, reread to confirm, and roll back automatically on any failure.
Instructions
Write one FX-parameter envelope transactionally: snapshot, inclusive-range replacement, reread confirmation, and automatic rollback on any failure. A declared range always means replacement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track | No | Exact track name (case-insensitive); "master" targets the master track. Used when no GUID is given; errors if two tracks share the name. | |
| points | Yes | [{bar, beat, value, shape} | {time|seconds, value, shape}] | |
| ranges | No | [{start_time, end_time}] inclusive replacement scope | |
| dry_run | No | Preview: return what would run without changing the project. | |
| fx_index | No | ||
| fx_scope | No | ||
| param_index | No | ||
| track_contains | No | Case-insensitive substring; used only when no GUID or exact name is given. Errors if it matches more than one track. | |
| fx_name_contains | No | ||
| target_track_guid | No | Stable REAPER track GUID; preferred when available. Wins over every other track selector. | |
| use_selected_track | No | Target the first selected track; ignored when any other track selector is given. Errors if nothing is selected. | |
| param_name_contains | No | ||
| clear_existing_in_range | No |