Restore trash item
nextcloud_restore_trash_itemRestore a single item from the Nextcloud trash bin to its original location by providing its trash ID.
Instructions
Restore one trash-bin item to its original location.
MOVE /remote.php/dav/trashbin/{user}/trash/{trash_id}
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": "nextcloud_restore_trash_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trash_id | Yes |