gdrive_trash
Move a Google Drive file or folder to trash for soft deletion, keeping it recoverable. Use dry_run to preview changes before committing.
Instructions
Move a Google Drive file or folder to trash.
Discovery: run gdrive_search or gdrive_list_folder first to obtain
file_name / file_id values.
Use this for: soft-deleting a file/folder (recoverable from trash). Not for: permanently deleting — not supported by this server.
Use dry_run=True to preview the change without committing.
Args: file_name: Name of the file/folder to trash file_id: Optional stable file ID (preferred when known) dry_run: Preview the trash without committing it
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| file_id | No | ||
| file_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |