set_brightness
Adjust a light's brightness to any level from 0 to 100 percent, ensuring your Tuya device achieves the exact illumination needed for any task or mood.
Instructions
Set a light's brightness as a percentage (0-100).
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": "<device>",
"percent": "<percent>"
},
"name": "set_brightness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | ||
| percent | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||