slice_model
Convert 3D model files (STL/3MF) into G-code for 3D printing using OrcaSlicer. Specify input/output files and optional profiles to customize slicing parameters.
Instructions
Run OrcaSlicer CLI to slice a model file. Specify input/output filenames and optionally profiles to use.
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": {
"input_file": "<input_file>",
"output_file": "<output_file>"
},
"name": "slice_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_file | Yes | STL / 3MF input filename (in work directory). | |
| output_file | Yes | Desired G-code output filename. | |
| profile_machine | No | Machine profile filename (optional). | |
| profile_filament | No | Filament profile filename (optional). | |
| profile_process | No | Process profile filename (optional). | |
| timeout_ms | No | Timeout in milliseconds (default 300000). |