drive_trash
Move a file or folder to Google Drive trash, where it stays recoverable for 30 days, or restore a previously trashed item by its file ID.
Instructions
Move a file/folder to the Drive trash (recoverable for 30 days), or restore it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fileId": "<fileId>"
},
"name": "drive_trash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | ||
| restore | No |