protect_update_viewer
Update settings for a UniFi Protect viewer. Specify viewer ID and fields to change.
Instructions
Update a Protect viewer's settings.
Args: viewer_id: The viewer 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": {
"viewer_id": "<viewer_id>",
"data": "<data>"
},
"name": "protect_update_viewer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| viewer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |