slice_model
Slices STL/3MF models into G-code with time and material estimates, supporting process and filament overrides, bed type selection, and custom output paths.
Instructions
Slice an STL/3MF and return G-code path plus time/material estimates. overrides are process settings by OrcaSlicer key, e.g. {"sparse_infill_density": "40%", "wall_loops": "4", "enable_support": "1"}; filament_overrides likewise for the filament, e.g. {"nozzle_temperature": "215"}. Use get_profile to see every key and its current value. bed_type picks the plate temperatures: "Textured PEI Plate", "Hot Plate" (smooth PEI), "Cool Plate", "Engineering Plate". output_dir defaults to /sliced/-.
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": {
"model_path": "<model_path>",
"vendor": "<vendor>",
"machine": "<machine>",
"process": "<process>",
"filament": "<filament>"
},
"name": "slice_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vendor | Yes | ||
| machine | Yes | ||
| process | Yes | ||
| bed_type | No | Textured PEI Plate | |
| filament | Yes | ||
| overrides | No | ||
| model_path | Yes | ||
| output_dir | No | ||
| filament_overrides | No |