slice_model
Slices 3D models for the Flashforge Creator 5 using filament and purpose settings, returning a 3MF project, G-code, print time, filament estimates, applied settings, and warnings.
Instructions
Slice a model for the Creator 5 with settings chosen for the filament and purpose.
Returns a project file (project_3mf) to open in the slicer and print from, the G-code path, print time, filament use, the settings applied with reasons, and any warnings to pass on to the user.
Args: model_path: Absolute path to an STL, 3MF, STEP or OBJ file on this computer. filament: Filament as the user describes it, e.g. "black PLA", "PETG", "TPU 95A". quality: draft, standard or fine. strength: decorative, standard, functional or structural. nozzle: Nozzle diameter in mm: 0.25, 0.4, 0.6 or 0.8. supports: auto, on or off. brim: auto, on or off. layer_height: Exact layer height in mm, or 0 to let quality decide. precise_fit: True for parts that must mate with other parts. smooth_top: True to iron flat top surfaces. copies: Number of copies to arrange on the plate. auto_orient: Let the slicer rotate the part. Leave False when the model is already oriented for strength. process_overrides: Extra OrcaSlicer process settings applied last, e.g. {"wall_loops": 5}. filament_overrides: Extra OrcaSlicer filament settings, e.g. {"nozzle_temperature": 215}. job_name: Name for the output folder and files. pro: True for the Creator 5 Pro. nozzle_temp: Nozzle temperature in C from the spool's label, or 0 to use the preset. bed_temp: Bed temperature in C from the spool's label, or 0 to use the preset. max_speed: Fastest print speed in mm/s the spool's label recommends, or 0 for no extra limit.
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>",
"filament": "<filament>"
},
"name": "slice_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pro | No | ||
| brim | No | auto | |
| copies | No | ||
| nozzle | No | 0.4 | |
| quality | No | standard | |
| bed_temp | No | ||
| filament | Yes | ||
| job_name | No | ||
| strength | No | standard | |
| supports | No | auto | |
| max_speed | No | ||
| model_path | Yes | ||
| smooth_top | No | ||
| auto_orient | No | ||
| nozzle_temp | No | ||
| precise_fit | No | ||
| layer_height | No | ||
| process_overrides | No | ||
| filament_overrides | No |