trash_file
Move a Google Drive file or folder to the trash without permanent deletion. Recover it within 30 days if needed.
Instructions
WRITES. Move a file or folder to the trash. Reversible with untrash_file for 30 days; nothing is permanently deleted.
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": "trash_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes |