drive_trashFile
Move a Google Drive file or folder to trash using its file ID. Reversible to restore if needed.
Instructions
Moves a file or folder to the trash (reversible).
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_trashFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | File ID or URL to trash. |