set_param
Sets a single LMMS parameter to a specified value using its native units, rejecting out-of-range values and recording one undo step.
Instructions
Set one knob to a value in its own units (see min, max and options from list_params). One undo step.
A value out of range is an error; it is not clamped.
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": {
"knob": "<knob>",
"value": "<value>"
},
"name": "set_param"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| knob | Yes | A knob handle or path from list_params, for example tracks/"Bass"/knobs/"Volume". | |
| value | Yes | A number from min to max, true or false for a bool, or an option index or label for a combo. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | Yes | ||
| min | Yes | ||
| name | Yes | ||
| path | Yes | ||
| step | Yes | ||
| type | Yes | ||
| value | Yes | ||
| handle | Yes | ||
| default | Yes | ||
| display | Yes | ||
| options | No | ||
| automated | Yes | ||
| log_scale | Yes | ||
| controlled | Yes |