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).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_snapshots"
}
}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. |