drive_restore
Restore a trashed file or folder to its original Proton Drive path. Recover accidentally deleted items by moving them out of trash, provided the original location still exists and no name conflict occurred.
Instructions
Restore a trashed file or folder back to its original Proton Drive path. Requires authentication. Use drive_list_trash first to find the item's current path in trash. Fails if the original parent folder no longer exists or if a new item with the same name was created at that path since it was trashed. Do not use for items not currently in trash — it will return an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute remote Drive path of the item to restore, as shown in drive_list_trash output (must start with '/'). |