Restore version
restore_versionRestore a saved version of a Wavelength flow. First saves a snapshot of the current graph labeled 'Before restore by AI agent', then restores the chosen version. This overwrites the current graph. Returns the flow id and a link to open it.
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>",
"version_id": "<version_id>"
},
"name": "restore_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_id | Yes | The id of the flow. | |
| version_id | Yes | The id of the version to restore. |