Delete permanently
drive_deletePermanently deletes a file or folder already in Proton Drive trash; deletion is irreversible, so move the item to trash first and provide its trash path or uid.
Instructions
Permanently delete a file or folder already in the Proton Drive trash — irreversible. The CLI only accepts items inside /trash or /photos-trash, so drive_trash first, then pass the trash path (or uid from drive_list_trash). If several trashed items share the name, this refuses and lists their uids: the CLI can only address trashed items by name, so use the Proton Drive web or desktop app for that. The server asks the user to approve this itself and shows them the exact path.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "drive_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | Trash uid from drive_list_trash; if path is also given they must match. | |
| path | No | Trash path to delete permanently. Give path or uid (or both). | |
| confirmed | No | Optional and ignored: the server asks the user to approve this itself. You do not need to send it. |