restore-file-version
Restore a specific version of a file on NextCloud by providing its path and version ID.
Instructions
Restore a specific version of a file
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>",
"versionId": "<versionId>"
},
"name": "restore-file-version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of the file to restore | |
| versionId | Yes | ID of the version to restore |