restore_trash_item
Restore a trashed file or folder to its original path. If that path is missing, place it in the root folder, and resolve name conflicts with a numeric suffix.
Instructions
Restore a file or folder from the trash bin to its original location.
The item is restored to its original path. If the original path no longer exists, it is restored to the user's root folder. If a file with the same name already exists, a numeric suffix is added.
Args: trash_path: The trash path identifier from list_trash (e.g. "document.txt.d1711000000").
Returns: Confirmation message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trash_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |