mqtt_connect
Establish a secure MQTT connection to a Bambu Lab 3D printer for local control and monitoring. Required before sending printer commands.
Instructions
Connect to a Bambu Lab printer via local MQTT over TLS. Required before any printer control commands.
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": {
"host": "<host>",
"password": "<password>",
"device_id": "<device_id>"
},
"name": "mqtt_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Printer IP address | |
| port | No | MQTT port (default: 8883) | |
| username | No | MQTT username (default: "bblp") | |
| password | Yes | LAN access code from printer screen | |
| device_id | Yes | Printer serial number |