Rename preset
rename_presetRenames a user preset by copying it to a new name, selecting the copy, and deleting the original; system presets remain read-only.
Instructions
Rename one of the user's presets; the renamed preset becomes the selected one.
It copies the preset to new_name, selects the copy and deletes the original. 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.
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": {
"type": "<type>",
"old_name": "<old_name>",
"new_name": "<new_name>"
},
"name": "rename_preset"
}
}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. |