set_temperature
Sets a heater's target temperature in °C for preheating or cooling; use 0 to turn it off, then check printer status to confirm progress.
Instructions
Set a heater's target temperature in °C, such as to preheat or cool down. 0 turns it off; turn_off_heaters turns them all off. Klipper refuses targets above the heater's max_temp. Doesn't wait to reach the target; check printer_status.
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": {
"heater": "<heater>",
"target": "<target>"
},
"name": "set_temperature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| heater | Yes | Heater name from printer_status, such as extruder or heater_bed. | |
| target | Yes | ||
| printer | No | Printer name from list_printers. Optional when only one is configured. |