Undo a change
restore_snapshotPuts a flow back to one of its saved versions (a snapshot_id from get_flow or update_flow). The current version is saved first, so a restore can be undone too.
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": {
"flow_id": "<flow_id>",
"snapshot_id": "<snapshot_id>"
},
"name": "restore_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_id | Yes | A flow_id from list_flows. | |
| snapshot_id | Yes | A snapshot_id from get_flow or update_flow. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||