upload_file
Send a local file to a Bambu Lab printer under a chosen filename, with an option to start printing immediately after transfer.
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) | ||
| bed_type | No | Bed plate type for the native X2D uploader (default: textured_plate). | |
| filename | Yes | Name for the file on the printer | |
| file_path | Yes | Local path to the file to upload | |
| bambu_model | No | Required for every printable .gcode or .3mf upload, including upload-only operations. | |
| bambu_token | No | Access token (default: value from env) | |
| plate_index | No | Zero-based plate index passed to the native X2D uploader (default: 0). | |
| preset_name | No | Optional printer preset name passed to the native X2D uploader. | |
| bambu_serial | No | Serial number (default: value from env) | |
| project_name | No | Optional project name passed to the native X2D uploader; defaults to filename. | |
| connection_mode | No | Upload transport; bambu_native uses the installed Bambu networking plug-in for X2D or X1C and never starts printing. |