alexa_set_device_mode
Change a mode setting on an Alexa smart-home device (e.g., thermostat fan mode) with a confirmation step to prevent accidental changes.
Instructions
Change a mode setting on an Alexa smart-home device: a thermostat’s fan mode (e.g. "Circulate"), a robot vacuum’s mode, a light effect, and similar. setting picks the mode control by name (e.g. "Fan Mode") when the device has several; mode is the value by name or id, as alexa_list_device_modes shows them. Garage doors are not changed here: use alexa_garage_door. 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 | Yes | The new value, by name ("Circulate") or value ("3"). | |
| target | Yes | Device name (or id) from alexa_list_smart_home. | |
| setting | No | Which mode control, by name ("Fan Mode") or instance. Optional when the device has one. | |
| 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. |