tuya_set_brightness
Set the brightness of a Tuya smart light by specifying its device ID and a percentage from 0 to 100.
Instructions
Set the brightness of a Tuya smart light
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": {
"deviceId": "<deviceId>",
"brightness": "<brightness>"
},
"name": "tuya_set_brightness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes | Tuya device ID | |
| brightness | Yes | Brightness percentage (0-100) |