alexa_run_routine
Run an Alexa routine exactly as if its trigger fired, but require user confirmation to prevent unintended smart-home actions.
Instructions
Run an Alexa routine now, exactly as if its trigger fired. A routine can do anything it was built to — lights, locks, messages, purchases — so check what it does before running it. 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 |
|---|---|---|---|
| device | No | Device the routine runs on (where spoken responses play). Defaults to the first online speaker. | |
| routine | Yes | Routine name, trigger phrase or id (from alexa_list_routines). | |
| 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. |