UniFi Drive: List Snapshots
unifi_drive_list_snapshotsLists a drive's snapshots newest first, including id, timestamp, description, and lock status, so you can review retention and obtain snapshot ids for deletion.
Instructions
The snapshots kept for one drive, newest first: id, when it was taken, its description, and whether it is locked against automatic rotation. Use the ids with unifi_drive_delete_snapshot (when writes are enabled). For whether snapshots are running at all, unifi_drive_list_drives is cheaper.
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": {
"drive": "<drive>"
},
"name": "unifi_drive_list_snapshots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drive | Yes | A drive's name or id, from unifi_drive_list_drives — e.g. "Shared_Drive". Names match case-insensitively. A personal drive is named after its owner's username, and also matches the owner's full name, e.g. "Alex Doe". | |
| limit | No | Most recent snapshots to return. Defaults to 20; `total` gives the full count. |