add_printer
Add or update a named printer profile for Bambu Lab printers, specifying model, host, and optional configurations such as serial number, access token, or default settings.
Instructions
Add or update a named printer profile. Plaintext tokens remain in memory only; persisted profiles must reference an environment variable.
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": {
"id": "<id>",
"host": "<host>",
"model": "<model>"
},
"name": "add_printer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Stable lowercase printer ID used by other tools | |
| host | Yes | Printer hostname or LAN IP address | |
| name | No | Optional operator-friendly printer name | |
| model | Yes | Exact Bambu Lab printer model | |
| dev_id | No | Optional BambuNetwork device ID | |
| serial | No | Printer serial number; serial_env is preferred for persisted profiles | |
| persist | No | Persist only nonsecret metadata and environment-variable references | |
| replace | No | Replace an existing profile with the same ID | |
| bed_type | No | Default build plate type | |
| dev_id_env | No | Environment variable containing the BambuNetwork device ID | |
| serial_env | No | Environment variable containing the printer serial number | |
| access_token | No | LAN access token for this process only; never persisted | |
| make_default | No | Make this the default printer | |
| nozzle_diameter | No | Default nozzle diameter in millimeters | |
| access_token_env | No | Environment variable containing the LAN access token |