Edit preset (overwrites stored settings)
edit_presetModify and save an existing OrcaSlicer preset under the same name after a physics check; blocks changes that would introduce new physics failures.
Instructions
Change a stored preset and save it under the same name, after the physics check; set_config changes only the open project.
It selects the preset, applies the changes atomically and saves under the same name. Runs the check_profile_physics gate first (F15) and refuses with error=physics_blocked if the changes would INTRODUCE a failing physics check (pre-existing failures do not block unrelated edits). For type='filament', checks that also depend on the currently selected PRINT preset (flow_ceiling, temp_vs_flow) do not block; they come back as cross_layer_warnings, because a filament preset pairs with many print presets.
OrcaSlicer 2.5's temperature safety check applies to the save as in save_preset: past it the reply is temperature_pairs_unsafe with the pairs, and the changes stay unsaved.
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>",
"changes": "<changes>"
},
"name": "edit_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | Yes | ||
| changes | Yes | ||
| allow_temperature_pairs | No | Filament only: save even though OrcaSlicer's temperature safety check finds the first-layer temperature far from the other layers' (its own 'Continue anyway?'). Only after the user has agreed to those temperatures. |