Undo
undoServes the state steps revisions back. Nothing is deleted: a later change branches off, and restore_revision goes forward again. With expect_revision a write someone else made since your read is refused instead of taken back.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | How many, default 1 | |
| expect_revision | No | The revision you last read (revision_after or get_history), full or short hash; another one served is refused, nothing moves |