protect_update_light
Modify configuration of a UniFi Protect light by specifying the light ID and the fields to update.
Instructions
Update a Protect light's settings.
Args: light_id: The light ID. data: Fields to update.
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": {
"light_id": "<light_id>",
"data": "<data>"
},
"name": "protect_update_light"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| light_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |