Open in slicer
open_in_slicerOpens a model, G-code, or 3MF file in the Anycubic Slicer Next window when you need to see or edit it, and refuses 3MF files containing post-processing scripts.
Instructions
Open a file in the Anycubic Slicer Next window on the user's screen.
Only call it when the user asks to see or edit something in the slicer; every other tool works without the window. 3MF files are checked for post-processing scripts first and refused if they have one. Changes no files.
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": {
"path": "<path>"
},
"name": "open_in_slicer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | A model (STL, OBJ, 3MF, STEP), a .gcode or a .gcode.3mf on this computer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |