Restore revision
restore_revisionServes an earlier or undone revision again: forward (redo, mode serve) or appended as a new link (mode append).
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": {
"revision": "<revision>"
},
"name": "restore_revision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | serve: move to it (default); append: new link with its content | |
| revision | Yes | The revision, full or short hash | |
| expect_revision | No | The revision you last read (revision_after or get_history), full or short hash; another one served is refused, nothing moves |