List Document Snapshots
list_snapshotsList Scrivener's saved snapshots for documents. Provide a documentId to view version history, or omit it to see all snapshots across the project.
Instructions
List the snapshots Scrivener has saved of a project's documents (from the .scriv package's Snapshots/ directory). Pass documentId to list one document's snapshots, or omit it to list snapshots for every document that has any. Each entry gives the owning document id and title, a snapshotId (pass it to read_snapshot to get the text), the snapshot's title, and its date. Read-only. Returns an empty list when nothing has been snapshotted. Requires an open project (call open_project first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | No | UUID of a single document to list snapshots for. Omit to list all documents. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documents | Yes | One entry per document that has snapshots. |