List snapshots
litescope_snapshot_listList local SQLite snapshots (backups) newest first to find a restore point or verify a backup exists before risky writes. Read-only, local files only.
Instructions
List point-in-time snapshots (local backups) for a local SQLite database, newest first. Snapshots are created with litescope_snapshot (requires --allow-writes). Use this to find a snapshot to restore, or to confirm a database has a backup before a risky write. Read-only; local files only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Local SQLite file path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of snapshots. | |
| source | Yes | The database the snapshots belong to. | |
| snapshots | Yes | Snapshots, newest first, with path, label, and timestamp. |