Restore Document Version
vault_doc_restoreRestore a document to a previous version while automatically saving the current version to history, ensuring safe rollback.
Instructions
Restore a document to a previous version.
The current version is saved to history first, then the specified version becomes the new current version.
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": {
"doc_id": "<doc_id>",
"version": "<version>"
},
"name": "vault_doc_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |