set_temperature
Set a checked bed or nozzle temperature for Bambu Lab printers, with positive heating requiring fresh telemetry and material and zero shutting the heater off.
Instructions
Set a checked bed or nozzle temperature. Positive heating requires matching fresh printer telemetry; nozzle heating also requires declared material. Zero turns the heater off.
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": {
"component": "<component>",
"temperature": "<temperature>"
},
"name": "set_temperature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Hostname or IP of the printer (default: value from env) | |
| material | No | Loaded material, for example PLA or PETG. Required for positive nozzle heating, including non-RFID spools. | |
| component | Yes | Component to heat: bed, nozzle, or extruder | |
| bambu_model | No | Printer model, required for positive heating unless configured in the environment | |
| bambu_token | No | Access token (default: value from env) | |
| temperature | Yes | Finite target temperature in °C, checked against model/component and declared material limits | |
| bambu_serial | No | Serial number (default: value from env) | |
| nozzle_diameter | No | Installed nozzle diameter to compare with printer-reported configuration (default 0.4) |