Preview a rollback (dry run)
preview_rollbackPreview what rolling back a deployment would do without changing anything. Shows the target release and impact so you can review it, then run the rollback from the dashboard or CLI.
Instructions
Dry run only: work out what rolling a deployment back would do, without changing anything. Without targetRelease it previews a rollback to the release before the current one. It never performs the rollback; the user runs it from the dashboard or the CLI after reviewing the preview.
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": {
"app": "<app>",
"deployment": "<deployment>"
},
"name": "preview_rollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | App name exactly as list_apps returns it. | |
| deployment | Yes | Deployment name, for example Production or Staging. | |
| targetRelease | No | Label to roll back to, for example v12. Omit to use the release before the current one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| notice | Yes | ||
| outcome | Yes | ||
| refusal | No | ||
| executed | Yes | ||
| warnings | Yes | ||
| deployment | Yes | ||
| newRelease | No | ||
| notChecked | Yes | ||
| rulesSource | Yes | ||
| targetRelease | No | ||
| currentRelease | No |