alexa_set_thermostat
Set an Alexa-connected thermostat's mode and temperature setpoint, with range validation and user confirmation before changes apply.
Instructions
Set an Alexa-connected thermostat: change the temperature setpoint (heat-to / cool-to) and/or the mode (HEAT, COOL, AUTO, OFF, ECO). In AUTO mode pass lower (heat to) and/or upper (cool to) — the one you omit is kept from the current setting; in HEAT or COOL mode pass temperature. Reads the thermostat first and refuses a setpoint outside its allowed range. Units default to the thermostat’s own scale. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | New thermostat mode. | |
| lower | No | AUTO mode: heat-to setpoint (lower bound). | |
| scale | No | Units of the temperatures given. Defaults to the thermostat’s scale. | |
| upper | No | AUTO mode: cool-to setpoint (upper bound). | |
| target | Yes | Thermostat name (or id) from alexa_list_smart_home. | |
| temperature | No | Single setpoint for HEAT or COOL mode. | |
| confirmToken | No | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation. |