Restore from the trash
restore_pathRestores a deleted file or folder from the trash to its original location using an id from list_trash or a delete response. Optionally overwrites an occupied path.
Instructions
Restores a file or folder from the trash to its original location. Get the id from list_trash or from the delete_path response.
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": {
"id": "<id>"
},
"name": "restore_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Trash entry id | |
| overwrite | No | Replace the item if the original path is occupied |