infomaniak_remove_drive_trash_item
Permanently delete a trashed file or folder from kDrive. Irreversible action that frees storage space.
Instructions
Permanently remove one file or folder from kDrive trash. Destructive two-phase commit with trashed-item guard; not undoable.
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": {
"drive_id": "<drive_id>",
"file_id": "<file_id>"
},
"name": "infomaniak_remove_drive_trash_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | Trashed file or folder id. | |
| drive_id | Yes | kDrive id. Discover via infomaniak_list_drives. | |
| confirmation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||