download_model
Download completed 3D models from pictostl generation tasks to a local path, with automatic GLB-to-STL conversion for 3D printing or original GLB output.
Instructions
Download a completed generation to a local path. id is the task id from generate_model/get_task, not an upload assetId. format stl (default) converts the original GLB locally to binary STL with longest edge 100 mm (no color/texture). format glb writes the original file. Parent directory must already exist.
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": {
"id": "<id>",
"path": "<path>"
},
"name": "download_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Task id from generate_model or get_task | |
| path | Yes | Local destination path | |
| format | No | Default stl | |
| longestEdgeMm | No | STL only; default 100; range 1–1000 |