rca_graph_list_versions
Lists all historical versions of a causal graph, showing timestamps and node/edge counts, so you can review changes and get version IDs to restore an earlier state.
Instructions
List all historical versions of a causal graph. A new version is snapshotted automatically every time the graph is saved (node/edge additions, removals, etc) -- there's no separate "save version" step. Requires the graph_versioning feature (Starter+).
Use the returned version_id values with rca_graph_restore_version to roll back to an earlier state.
Args: params (GraphListVersionsInput): - token/client_id: standard auth fields - graph_id: the graph to list versions for -- must already exist and belong to you (check with rca_graph_get if unsure)
Returns: str: JSON {graph_id, total, versions: [{version_id, created_at, node_count, edge_count}, ...]}, newest first
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": {
"params": "<params>"
},
"name": "rca_graph_list_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |