cutbolt_session_undo
Undo the latest applied change in a saved session, creating a new revision that preserves history. Repeat to step back through revisions.
Instructions
Undo the latest applied state as a new revision, preserving history. Repeated undo walks backward. Retry with identical request_id/expected_revision.
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": {
"project_id": "<project_id>",
"request_id": "<request_id>",
"expected_revision": "<expected_revision>"
},
"name": "cutbolt_session_undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ID of a project saved in store_root. | |
| request_id | Yes | Caller-chosen ID for this change, 1-128 bytes, unique within the project. Resend identical arguments with it to retry safely. | |
| store_root | No | Existing local directory holding the session database (projects.sqlite3) | |
| expected_revision | Yes | Head revision this change was prepared against; a different head fails with REVISION_CONFLICT. |