drive_trash_file
Move a Drive file or folder to trash, keeping it recoverable for 30 days instead of permanent deletion.
Instructions
Move a Drive file or folder to the trash (recoverable, not deleted).
This is deliberately trash rather than permanent deletion: the item stays restorable from Drive's trash for 30 days, which is the undo path for a wrong call. There is no hard-delete tool in this server on purpose. Trashing a folder trashes everything inside it.
file is a Drive file id or a path from My Drive root. Because this
is destructive, the result echoes the resolved name, path, and id — check
those against what you intended. Returns those plus restore instructions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||