tuya_send_commands
Send control commands to Tuya devices by specifying cloud device ID, Tuya device ID, and an array of code-value command pairs.
Instructions
Send control commands to a Tuya device
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": {
"device_id": "<device_id>",
"tuya_device_id": "<tuya_device_id>",
"commands": "<commands>"
},
"name": "tuya_send_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes | Array of commands to send | |
| device_id | Yes | Tuya cloud account device ID | |
| tuya_device_id | Yes | Tuya device ID |