Delete a Drive file
delete_drive_fileRemove Google Drive files by sending them to Trash for recovery or permanently deleting them when confirmation is provided.
Instructions
Delete a Drive file. By default it goes to Trash (recoverable); pass permanent:true to delete it forever. Pass fileId (from list_drive_files) + confirm:true. Irreversible when permanent — confirm with the user first.
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": "delete_drive_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | the Drive file id | |
| confirm | No | REQUIRED true | |
| permanent | No | true = delete forever; default trashes (recoverable) |