delete-drive-file
Permanently deletes a file from a Dooray drive trash after it has been moved there. Use it only for files already in the trash folder.
Instructions
Permanently delete a file from a Dooray drive trash.
Important: The file must already be in the trash folder. To move a file to trash first, use move-drive-file with destinationFileId="trash".
Required:
driveId: The drive ID
fileId: File ID to permanently delete
Example: { "driveId": "123", "fileId": "456" }
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": {
"driveId": "<driveId>",
"fileId": "<fileId>"
},
"name": "delete-drive-file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | File ID (must be in trash) | |
| driveId | Yes | Drive ID |