drive_trash_file
Move a file to trash in Google Drive by providing the account ID and file ID. Works with multiple Google accounts in the MCP server.
Instructions
Move a file to trash in Google Drive.
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": {
"accountId": "<accountId>",
"fileId": "<fileId>"
},
"name": "drive_trash_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | The file ID to trash | |
| accountId | Yes | The Google account ID, alias, or email |