print_3mf
Print a 3MF file on a Bambu Lab printer by verifying plate settings against printer's live status and requesting confirmation before upload.
Instructions
Print a 3MF file on a Bambu Lab printer. The exact selected plate is inspected (model, nozzle, bed type, materials, every heater target) and checked against a fresh MQTT report of the printer's identity, nozzle, state, errors and loaded filament, then a human confirmation is requested before upload and start.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Hostname or IP address of the Bambu printer (default: value from env) | |
| use_ams | No | Whether to use AMS for the print. Defaults from parsed 3MF mapping when present. | |
| bed_type | No | Bed/plate type installed on the printer (default: textured_plate). | |
| timelapse | No | Override timelapse flag for the Bambu print command. | |
| ams_mapping | No | Override AMS filament mapping (e.g., {"Generic PLA": 0, "Generic PETG": 1}). | |
| bambu_model | Yes | REQUIRED: Bambu Lab printer model. Ensures correct G-code generation — wrong model can crash the bed into the nozzle. | |
| bambu_token | No | Access token for the Bambu Lab printer (default: value from env) | |
| nozzle_type | No | Installed nozzle material, used when the 3MF must be auto-sliced (default: BAMBU_NOZZLE_TYPE, else the preset's stock nozzle). | |
| slicer_path | No | Path to the slicer executable if auto-slicing is needed. Per-call overrides require MCP_ALLOW_EXECUTABLE_ARG=1. | |
| slicer_type | No | Slicer to use if the 3MF needs auto-slicing. Use orcaslicer-bambulab for FULU OrcaSlicer-bambulab. | |
| bambu_serial | No | Serial number for the Bambu Lab printer (default: value from env) | |
| bed_leveling | No | Override bed leveling flag for the Bambu print command. | |
| layer_height | No | Override layer height (mm). | |
| layer_inspect | No | Override layer inspection flag for the Bambu print command. | |
| three_mf_path | Yes | Path to the 3MF file to print. | |
| slicer_profile | No | Optional slicer settings/profile path for auto-slicing. | |
| bed_temperature | No | Override bed temperature (°C). | |
| nozzle_diameter | No | Nozzle diameter in mm (default: 0.4). | |
| support_enabled | No | Override support generation. | |
| filament_profile | No | Optional filament profile path for auto-slicing with OrcaSlicer/Bambu Studio. | |
| flow_calibration | No | Override flow calibration flag for the Bambu print command. | |
| nozzle_temperature | No | Override nozzle temperature (°C). | |
| vibration_calibration | No | Override vibration calibration flag for the Bambu print command. |