Select preset
select_presetSwitch the active print, filament, or printer preset; optionally target a filament slot to change only that slot and preserve unsaved edits.
Instructions
Switch the active print, filament or printer preset; without a filament slot this drops every unsaved edit.
With slot (filament only), only that slot's filament preset changes, like picking it
in the sidebar's combo for that slot, and no unsaved edits are discarded
(set_filament_slot_preset does the same and can also set the slot's colour). On a
single-filament printer slot 1 is the Filament tab's preset, so it behaves like the call
without slot below. Needs a slicer build that lists 'preset_slot' in get_status
capabilities; older builds would ignore the slot and switch the Filament tab instead, so
this tool refuses there.
Without slot: discards unsaved overrides in EVERY preset group, not just the one being switched: a
filament switch also drops unsaved print and printer edits, including ones made by hand
in the OrcaSlicer window. That is deliberate (OrcaSlicer consults the other groups when
switching, and any unsaved one would open a modal dialog nothing can dismiss remotely),
so call save_preset first if any unsaved edit should survive. Newer slicer builds report
which groups were affected as 'discarded_changes' in the reply.
On the OrcaSlicer MCP plugin (stock OrcaSlicer) nothing is discarded: while any preset group
has unsaved edits the switch is refused with unsaved_edits, naming them under modified,
because OrcaSlicer would stop for a window on the user's screen. Ask the user whether to keep
them (they save them in OrcaSlicer) or drop them (set_config with each key set to null), then
switch.
This also makes it the canonical way to reset dirty config. It leaves the last slice invalid, so re-slice afterwards. Use list_presets for valid names. Because of this, make filament selections and edits before print-group edits (docs/order-of-operations.md).
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>",
"name": "<name>"
},
"name": "select_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact name of an existing preset in that group, as returned by list_presets (e.g. '0.20mm Standard'). Unknown names are rejected. | |
| slot | No | Filament only: the 1-based filament slot (extruder/tool, e.g. 1-4 on a 4-head toolchanger) to set. Omit to switch the preset open in the Filament tab. | |
| type | Yes | Which preset group to switch: 'print' (process/quality), 'filament' (material), or 'printer' (machine). |