rollback_frankability
Restore a Symbols project to its pre-operation state using snapshots. Roll back to any prior op ID to undo changes or walk backward through the op history.
Instructions
Restore a Symbols project to its state before a specific op ran.
Every apply-edits run snapshots affected files under
<symbols_dir>/.frank-audit/snapshots/<opId>/ before mutating. Use this
to undo a specific op (or a chain by walking backwards through opIds
listed by snapshots_frankability).
Args: symbols_dir: Absolute path to the symbols/ directory. op_id: The opId to roll back to (from a prior apply-edits result).
Returns: JSON with { ok, restored: [...filePaths], opId }.
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": {
"symbols_dir": "<symbols_dir>",
"op_id": "<op_id>"
},
"name": "rollback_frankability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op_id | Yes | ||
| symbols_dir | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |