set_color_xy
Set a light's color using CIE 1931 xy coordinates (0-1) to match a precise target color from a color picker or spec.
Instructions
Set a light's color from CIE 1931 xy coordinates (0-1).
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": {
"x": "<x>",
"y": "<y>"
},
"name": "set_color_xy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| light_id | No | ||
| light_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |