drive_restore
Restore a trashed file or folder to its original Proton Drive path. Use drive_list_trash to find the item's trash path, then restore it; fails if the parent folder is missing or a same-named item exists.
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 '/'). |