Send Text Command to Alexa
alexa_text_commandSend text commands to Alexa devices to control smart home functions. For example, turn on the kitchen lights by simulating a spoken command.
Instructions
Send a text command to Alexa as if you spoke it. Example: "turn on the kitchen lights"
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": {
"serialNumber": "<serialNumber>",
"command": "<command>"
},
"name": "alexa_text_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The text command, as if spoken to Alexa | |
| serialNumber | Yes | Serial number of the Echo device |