slice_model_file
Slice an STL or 3MF model into a printable .gcode.3mf using Bambu Studio, with confirmation required. STL/STEP profiles auto-discovered from BambuStudio config; 3MF projects with settings can slice directly.
Instructions
Slice an STL/3MF with the Bambu Studio CLI into a printable .gcode.3mf. Requires confirm=true.
STL/STEP needs machine/process/filament JSON (auto-discovered from BambuStudio config when present). A project .3mf that already contains settings can be sliced without extra profiles.
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": {
"source": "<source>"
},
"name": "slice_model_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plate | No | ||
| orient | No | ||
| output | No | ||
| source | Yes | ||
| arrange | No | ||
| confirm | No |