edit_preset
Apply targeted changes to a Serum preset's parameters without altering other values. Edit filters, oscillators, envelopes, and more by specifying only the fields to update.
Instructions
Apply a partial spec update to an existing .SerumPreset file, in place.
Call describe_preset(preset_path) first to see the current state, then
only include the sections/indices in ``spec`` that should change --
e.g. to just brighten the filter, pass ``filters=[FilterSpec(cutoff=0.8, ...)]``
and leave everything else empty; it will be left untouched.
Returns the absolute path of the edited file (same as ``preset_path``).
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": {
"preset_path": "<preset_path>",
"spec": "<spec>"
},
"name": "edit_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| preset_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |