set_hvac_mode
Change a thermostat's HVAC mode to off, heat, cool, or auto. Requires account write permission and the client write scope when hosted.
Instructions
Change thermostat HVAC mode to off, heat, cool, or auto. Requires account write permission and the client write scope when hosted, or server --allow-writes locally.
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": {
"thermostat_id": "<thermostat_id>",
"mode": "<mode>"
},
"name": "set_hvac_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| thermostat_id | Yes | Exact thermostat id returned by list_thermostats. |