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
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gdrive_trash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| file_id | No | ||
| file_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |