tuya_set_color_temperature
Adjust a Tuya smart light's color temperature by device ID or name, from warm white (0) to cool white (1000).
Instructions
Set the color temperature of a Tuya light by device_id or name (e.g. 'Living Room Light'). temperature must be between 0 (warm white) and 1000 (cool white)
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>",
"temperature": "<temperature>"
},
"name": "tuya_set_color_temperature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | ||
| temperature | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |