tuya_set_brightness
Adjust the brightness of any Tuya smart light using device ID or name. Specify a value from 0 (minimum) to 1000 (maximum) to control illumination precisely.
Instructions
Set the brightness of a Tuya light by device_id or name (e.g. 'Living Room Light'). brightness must be between 0 (minimum) and 1000 (maximum)
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>",
"brightness": "<brightness>"
},
"name": "tuya_set_brightness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | ||
| brightness | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |