Create Document Snapshot
create_snapshotCreate a Scrivener-native snapshot of a document before rewriting to preserve a restorable version with title and timestamp, without altering the current content.
Instructions
Take a Scrivener-native snapshot of a document's current content, restorable from Scrivener's own Snapshots browser. Use this before rewriting a document to give the writer a native rollback point. Copies the live content into the project's Snapshots directory with a title and timestamp; does not modify the document. Requires an open project and a document that has content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Snapshot title shown in Scrivener. Defaults to "Snapshot". | |
| documentId | Yes | UUID of the document to snapshot. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Timestamp recorded for the snapshot. | |
| title | Yes | ||
| documentId | Yes | ||
| snapshotId | Yes | Id of the new snapshot (for read_snapshot). |