set_printer_temperature
Set a 3D printer component's target temperature in Celsius, or 0 to switch its heater off. Positive targets are validated against hardware/material limits and need human confirmation.
Instructions
Set the temperature of a printer component. Temperature 0 switches a heater off and is never gated. Positive targets are validated before connecting, limited by independent hardware and material ceilings, require a ready printer and a human confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Hostname or IP address of the printer (default: value from env) | |
| port | No | Port of the printer API (default: value from env) | |
| type | No | Type of printer management system (octoprint, klipper, duet, repetier, bambu, prusa, creality) (default: value from env) | |
| api_key | No | API key for authentication (default: value from env) | |
| material | No | Declared material at the nozzle (for example PLA, PETG, ABS). Required for positive nozzle heating, including non-RFID spools. | |
| component | Yes | Printer component to heat, such as extruder or bed. | |
| bambu_model | No | Bambu printer model; required for positive Bambu heating unless BAMBU_MODEL is configured. Checked against the live printer. | |
| bambu_token | No | Access token for Bambu Lab printers (default: value from env) | |
| temperature | Yes | Target temperature in Celsius: a finite number >= 0. 0 switches the heater off. | |
| bambu_serial | No | Serial number for Bambu Lab printers (default: value from env) | |
| nozzle_diameter | No | Installed Bambu nozzle diameter in mm for nozzle heating (default: NOZZLE_DIAMETER or 0.4). Checked against the live printer. |