add_model
Load STL, 3MF, OBJ, STEP, or AMF files onto the PrusaSlicer bed and return the model ID and size for slicing.
Instructions
Add a model file (STL, 3MF, OBJ, STEP, AMF) to the bed; returns its id and size.
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": "add_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| copies | No |