restore_from_trash
Restore deleted files or folders from Yandex Disk trash to their original or specified destination, with optional overwrite.
Instructions
Restore a file or folder from Trash.
Args: path: Path of the item in Trash (e.g. "/trash/old_file.txt"). destination: Optional new path to restore to. Uses original path if omitted. overwrite: Overwrite if destination already exists.
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": {
"path": "<path>"
},
"name": "restore_from_trash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| overwrite | No | ||
| destination | No |