Set plugin parameter
fl_plugin_set_paramSet a plugin parameter by index or name, then verify the normalized 0..1 value actually landed. Returns before/after values, resolved parameter, and retry status for undoable changes.
Instructions
Set one plugin parameter (normalised 0..1), then VERIFY it landed.
param may be an index or a name; names are resolved from the live
param list. The change is logged ONCE and undo-able via
fl_rollback_last_change. Returns before/after (unchanged shape) plus
the resolved {index, name} and, because the value is checked on a
fresh re-read, verified: bool and attempts: int (1 = it stuck
first try); attempts can reach 4 (1 write + 3 retries) and a
hint explains a verified: false.
RECIPE (FL API limits, measured on FL 26): verified is the source
of truth, not the request. Levels/gains take an arbitrary 0..1 value;
stepped params (filter types, orders, selectors) snap to their own
grid, so an off-grid request comes back verified: false with the
snapped value in after; some params (EQ2 band widths) ignore
writes entirely. An open plugin window (pickup mode) did not block
script writes in our test. Values are the normalised 0..1 domain shown
by fl_plugin_get_params -- read after.s for the display string.
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": "<track>",
"slot": "<slot>",
"param": "<param>",
"value": "<value>"
},
"name": "fl_plugin_set_param"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | ||
| param | Yes | Param index (int) or name (str, e.g. 'Decay time'). | |
| track | Yes | ||
| value | Yes | Normalised 0..1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||