Compare slice variants
compare_slicesCompare slicing outcomes across multiple named variants to see which configuration minimizes cost, time, or filament, with a clear recommendation and computed deltas.
Instructions
Slice the current plate under several named variants and compare the cost of each.
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 and rounded against baseline
(defaults to the changes={} variant, else the first) - relay them as given rather than
recomputing. recommended names one pick; recommended_is_dominant says whether it
beats every variant on every axis (time, filament, warnings) or is only the fastest
warning-free option amid a genuine trade-off (tradeoff then names the frontier).
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | ||
| timeout | No | ||
| baseline | No | ||
| variants | Yes |