set_temperature
Set a 3D printer heater's target temperature for the extruder, bed, or chamber; use 0 to turn it off and confirm=true to apply the change safely.
Instructions
Set a heater's target temperature. heater is 'extruder', 'bed', or 'chamber'; target is °C (0 turns the heater off). Returns immediately — the printer heats in the background; use wait_for_temperature to block until it arrives. Requires confirm=true. Refused if the target is outside the safety envelope, and while a print is running unless the server allows it.
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 | ||
| target | Yes | ||
| confirm | No | ||
| confirm_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||