Restore an earlier version
restore_versionPut a workflow's steps back as they were in an earlier version. Nothing is deleted: the current steps are saved as a version first if they are not already, and the restored steps become a new version. A deployment keeps its own version until deploy_workflow. Tell the person what will change before restoring.
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": {
"workflow_id": "<workflow_id>",
"version_id": "<version_id>"
},
"name": "restore_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version_id | Yes | From list_versions, or undo.version_id of a step change. | |
| workflow_id | Yes |