reslice_with_overrides
Reslice a 3D model with custom parameter overrides to fix print failures caused by adhesion, wobble, or quality issues. Adjust settings like brim width, speed, and fill density.
Instructions
Reslice a 3D model with custom slicer parameter overrides.
Accepts a base printer profile and a JSON dict of overrides to customize
the slice. Common override keys (PrusaSlicer INI format):
Adhesion: brim_width (mm), skirts (count), skirt_distance (mm)
Temperature: temperature, first_layer_temperature, bed_temperature
Speed: perimeter_speed, infill_speed, external_perimeter_speed, first_layer_speed, travel_speed (mm/s)
Structure: fill_density (e.g. "25%"), fill_pattern (gyroid/grid/honeycomb), layer_height
Support: support_material (0/1), support_material_buildplate_only (0/1)
Retraction: retract_length, retract_speed
Example overrides JSON: {"brim_width": "8", "perimeter_speed": "30", "fill_density": "25%"}
Use this tool when a print failed due to adhesion, wobble, or quality issues
and you need to reslice with adjusted settings. Pair with rotate_model to
also change part orientation before reslicing.
Requires PrusaSlicer or OrcaSlicer installed locally.
Use kiln find-slicer or the find_slicer MCP tool to verify.
Args:
input_path: Path to the input file (STL, 3MF, STEP, OBJ, AMF).
printer_id: Printer model ID for bundled profile selection
(e.g. ``"prusa_mini"``, ``"bambu_a1"``).
overrides: JSON string of key-value pairs to override in the slicer
profile (e.g. ``'{"brim_width": "8", "fill_density": "25%"}'``).
output_dir: Directory for the output G-code. Defaults to the
system temp directory.
slicer_path: Explicit path to the slicer binary. Auto-detected
if omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overrides | No | ||
| input_path | Yes | ||
| output_dir | No | ||
| printer_id | No | ||
| auto_center | No | ||
| slicer_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||