Delete Document
delete_documentMove a document to the project trash. This action is reversible: documents in trash can be restored until the trash is emptied.
Instructions
Move a document to the project trash. This is reversible: the document can be listed with list_trash and brought back with restore_document until the trash is emptied in Scrivener. Deleting an already-trashed document is a no-op. 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"). |