Restore Document From Trash
restore_documentRestore a trashed document back into the Scrivener binder, optionally into a specific target folder.
Instructions
Restore a trashed document back into the binder, optionally into a specific target folder (otherwise it returns to a default location). Use list_trash to find the document id first. This is the inverse of delete_document. Requires an open project and a valid document id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Write even if the project appears open in Scrivener. Default false, which refuses the write to protect against your changes being overwritten by Scrivener on save. | |
| documentId | Yes | Scrivener document UUID, as returned by get_structure (a binder item "id"). | |
| targetFolderId | No | Optional id of the folder to restore into. Omit to restore to a default location. |