restore_from_trash
Restore a deleted item from the Nextcloud trash bin to its original location by providing its trash item ID.
Instructions
Restore an item from the trash bin to its original location (id from list_trash)
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": {
"trash_id": "<trash_id>"
},
"name": "restore_from_trash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trash_id | Yes | Trash item id, e.g. 'report.pdf.d1712345678' |