restore_from_trash
Recovers deleted files or folders from trash to their original location, or to root if original folder is missing.
Instructions
Restore a file or folder from the trash back to its original location. If the original parent folder no longer exists, the item is restored to the root directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | The unique identifier of the file or folder to restore | |
| type | No | Type of item to restore. If not provided, the system will auto-detect. |