infomaniak_restore_drive_trash_item
Restore a trashed file or folder from Infomaniak kDrive using a two-phase commit to ensure safe recovery.
Instructions
Restore one file or folder from kDrive trash. Two-phase commit with trashed-item guard.
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_restore_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 | |||