protect_update_sensor
Modify settings for a UniFi Protect sensor by providing the sensor ID and fields to update.
Instructions
Update a Protect sensor's settings.
Args: sensor_id: The sensor 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": {
"sensor_id": "<sensor_id>",
"data": "<data>"
},
"name": "protect_update_sensor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| sensor_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |