restore_release
Put an earlier release back into the editor: every flow, step, menu, action and variable returns exactly as it was, under the same ids, so running conversations, scheduled steps and buttons users already received keep working. Nothing is lost: the current editor state is saved first as a RESTORE_SAFETY release, or, when it already equals a recent release, that release is reused (either way returned as safetyReleaseNumber); restoring that one undoes this. Steps added since are soft-deleted, so their message history and contacts' stored values stay. Values the bot itself keeps (application variable values) are not changed. By default the bots keep running what they run until deploy_application; pass publish=true to publish right away (a rollback of a broken publish). Refused while the AI assistant is changing the bot. This replaces the user's unpublished edits in the editor, so confirm with the user first. Requires the manage_automation permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publish | No | Also publish the restored release to every active bot. Defaults to false. | |
| releaseId | Yes | The release id from list_releases. | |
| applicationId | No | Application (workspace) id. Optional: an application-scoped key (app_...) defaults to its own application, but a personal key (usr_...) has no default and omitting it fails with MCP_APPLICATION_REQUIRED. Call list_applications to get the id. |