Compare slice variants
compare_slicesSlice 2–8 named setting variants, compare time, filament use, and warnings with precomputed deltas and a verdict, then restore the original configuration unchanged.
Instructions
Slice under 2-8 named combinations of settings and compare time, filament and warnings with ready-made deltas and a verdict, putting the settings back after; compare_settings only sweeps one setting.
Each variant is {"name": str, "changes": {setting: value}}; changes={} means the current config as-is (a natural baseline row). Applies each variant over the ORIGINAL config (resetting between variants, so they don't stack), slices it, then restores your config exactly as it was - nothing is left changed (slice validity is left false, as after any un-resliced edit).
Returns a ready-to-relay headline and table_markdown, plus structured variants.
All deltas and percentages are ALREADY computed against baseline (defaults to the
changes={} variant, else the first) from the rounded minutes and grams the table shows -
relay them as given rather than recomputing. recommended (starred in the table) is set
only when one variant is at least as good as every other on time, filament and warnings.
In a trade-off it is null and the headline reads "No clear winner: X is fastest, Y is
lightest."; tradeoff names them, so leave the choice to the user.
The trial writes and slices are not recorded in OrcaSlicer's MCP panel; one line such as "Compared 3 options · nothing kept" is added instead.
Each variant is a full slice (minutes); capped at 8. Set detail=True only when a per-feature (wall/infill/support) split is wanted - it grows the response ~N x. With more than ~5 variants, lead with the recommendation and the extremes, not all rows.
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": {
"variants": "<variants>"
},
"name": "compare_slices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | ||
| timeout | No | ||
| baseline | No | ||
| variants | Yes |