revert
Undo a specific commit by creating a new commit that reverts the change, keeping your Beancount ledger history intact.
Instructions
Revert a specific commit (undo a change), creating a new commit.
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": {
"commit": "<commit>"
},
"name": "revert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |