upload_file
Transfer a local .3mf or .gcode file to a Bambu Lab printer's SD card over FTP, preparing it for a print job.
Instructions
Upload a local file to a printer's SD card via FTP. Supports .3mf, .gcode files. Use start_print after uploading to begin printing.
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": {
"local_path": "<local_path>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| printer | No | Printer ID, 'all', or omit for single printer | |
| local_path | Yes | Absolute path to the local file to upload | |
| remote_path | No | Remote path on printer. Default: '/<filename>' (SD card root) |