rca_graph_restore_version
Restore a causal graph to a specific historical version, preserving version history. Confirm to apply the snapshot and make the restore reversible for easy rollback.
Instructions
Restore a causal graph to a specific historical version. This creates a new current state from the version snapshot — the version history itself is preserved (the restore operation is snapshotted too, so restoring is itself undoable by restoring forward again). Requires confirm=true and the graph_versioning feature (Starter+).
Use rca_graph_list_versions first to find a version_id.
Args: params (GraphRestoreVersionInput): - graph_id: the graph to restore - version_id: from rca_graph_list_versions - confirm: must be true, or this returns an "aborted" error
Returns: str: JSON with graph_id, restored_from version_id, node/edge counts
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |