Set several plugin parameters
fl_plugin_set_paramsSet multiple parameters on one FL Studio plugin as a single undoable batch, with verified writes and per-parameter results to prevent partial, hard-to-revert changes.
Instructions
Set several parameters of ONE plugin as a single rollback unit.
Every entry of writes ({param, value}; param is an index
or a name) is written through ONE safety.safe_write_group call: one
changelog entry, so fl_rollback_last_change restores ALL of them back
to their original values in one step. Writes are paced 0.4 s apart
(FL drops back-to-back writes), each is re-read and retried up to 3
times if it did not land, and results reports per-param
{param, ok, verified, requested, attempts, before, after}.
RECIPE: same FL 26 limits as fl_plugin_set_param -- trust verified,
not the request: stepped params snap to their grid, some params ignore
writes entirely, values are the normalised 0..1 domain (see that
tool's docstring for the full map). Prefer this over repeated
fl_plugin_set_param calls whenever 2+ knobs change: it is one undo
step and one paced burst instead of several. Worst case (every param
refused) is ~1.6 s of retries per entry, so a full 16-entry batch can
take ~25 s -- keep batches focused on the knobs you mean to change.
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>",
"writes": "<writes>"
},
"name": "fl_plugin_set_params"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | ||
| track | Yes | ||
| writes | Yes | 1..16 {param, value} entries, all for this ONE plugin. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||