connector_protect_post
Proxy POST requests to the UniFi Protect API via Cloud Connector. Send custom payloads to specific Protect sub-paths such as camera snapshots.
Instructions
Proxy a POST request to the Protect Application via Cloud Connector.
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": {
"console_id": "<console_id>",
"path": "<path>"
},
"name": "connector_protect_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional request body | |
| path | Yes | Protect API sub-path, e.g. ``v1/cameras/{id}/snapshot`` | |
| confirm | No | Must be True to execute | |
| dry_run | No | Preview without sending | |
| console_id | Yes | UniFi console/host identifier | |
| controller | No | Controller to run against (see list_controllers). Defaults to the controller chosen with select_controller, then the server default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |