Restore Document From Trash
restore_documentRestore a trashed document to its original binder location or specify a target folder. Use list_trash to find the document ID first.
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 | ||
| targetFolderId | No | Optional id of the folder to restore into. Omit to restore to a default location. |