set_temperature
Hold an ecobee thermostat at chosen heat, cool, or both setpoints for 1-24 hours, using explicit Fahrenheit or Celsius units and preserving omitted setpoints.
Instructions
Set a 1–24 hour temperature hold. Supply heat, cool, or both with explicit F/C units. Keeps any omitted setpoint. 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>",
"unit": "<unit>",
"hours": "<hours>"
},
"name": "set_temperature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cool | No | ||
| heat | No | ||
| unit | Yes | ||
| hours | Yes | ||
| thermostat_id | Yes | Exact thermostat id returned by list_thermostats. |