Rename preset
rename_presetRename a user preset by copying it to a new name, selecting the copy, and deleting the original. Leaves the renamed preset active and invalidates the last slice, so re-slice afterwards.
Instructions
Rename a user preset by copying it to new_name, selecting the copy, and deleting the original. Only user presets can be renamed; system presets are read-only.
Because it selects the renamed preset, this leaves it active and discards unsaved config overrides, the same as select_preset, and leaves the last slice invalid, so re-slice afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Preset group: 'print', 'filament', or 'printer'. | |
| new_name | Yes | New name for the preset. Should not collide with an existing preset of the same type. | |
| old_name | Yes | Current name of the user preset to rename, as shown by list_presets. |