Restore deleted files
restore_filesRestore files and folders deleted within the last 24 hours to their original paths, recovering items moved to trash by delete_files.
Instructions
Restores files or folders that delete_files moved to the trash in the last 24 hours, back to their original paths.
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": {
"paths": "<paths>"
},
"name": "restore_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Original paths of the deleted files, relative to the server root. | |
| server | No | Server identifier or UUID. Omit to use the configured server (PEBBLEHOST_SERVER_ID); other servers are refused unless PEBBLEHOST_ALLOW_ALL_SERVERS is set. |