upload_file
Upload a local 3D print file to a Bambu Lab printer and optionally start printing immediately.
Instructions
Upload a local file to the Bambu Lab printer
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": {
"file_path": "<file_path>",
"filename": "<filename>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Hostname or IP of the printer (default: value from env) | |
| No | Start printing after upload (default: false) | ||
| printer | No | Configured printer ID. Omit to use the default printer or the only configured printer. | |
| filename | Yes | Name for the file on the printer | |
| file_path | Yes | Local path to the file to upload | |
| bambu_model | No | Required when print is true. Bambu Lab printer model used as a safety confirmation before starting the uploaded file. | |
| bambu_token | No | Access token (default: value from env) | |
| bambu_serial | No | Serial number (default: value from env) |