Restore Document From Trash
restore_documentRestore a trashed document from the trash back into the binder, optionally placing it in a specific folder. Requires the document ID from list_trash.
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 |
|---|---|---|---|
| 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. |