UniFi Protect: List PTZ Presets
unifi_protect_list_ptz_presetsList a PTZ camera's saved preset positions and their slot numbers by camera ID; use for cameras reporting PTZ support.
Instructions
List a PTZ camera's saved preset positions, with the slot number each one lives at. Only meaningful for cameras reporting hasPtz: true in unifi_protect_list_cameras. There is no tool to MOVE a PTZ camera or run a patrol: those commands exist only on Ubiquiti's official Integration API (a separate X-API-KEY auth this server does not use), not on the private API this server wraps — presets are created and driven from the Protect app itself.
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": {
"cameraId": "<cameraId>"
},
"name": "unifi_protect_list_ptz_presets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cameraId | Yes | Camera id — the `id` from unifi_protect_list_cameras, a 24-character hex string. Not the camera's name and not its MAC address. |