Apply config and slice
apply_and_sliceApply multiple OrcaSlicer setting changes and slice in one call; get applied changes, errors, and results to test a tweak before keeping it.
Instructions
Change settings and slice in one call, returning both; use set_config and then slice_and_wait to keep the steps apart.
Returns {applied, errors, result}. The changes are atomic (any invalid key rejects the whole batch) and unsaved, exactly like set_config, so they revert if the preset is reselected.
Use this to test the effect of a tweak in a single call. Use set_config then slice_and_wait to keep the steps separate, or compare_settings to try several values of one key.
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": {
"changes": "<changes>"
},
"name": "apply_and_slice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | Map of OrcaSlicer config key to new value to apply before slicing, e.g. {'layer_height': 0.2}. Same format and validation as set_config (null puts a key back to its saved preset value); discover keys with search_settings or find_config_keys. |