Roll back to a previous version
rollback_appPuts a previous version of an environment back online (the previous one by default, or to); the live version is replaced.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "rollback_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | The target version number; without it, the previous active version. | |
| wait | No | true: answers once done. | |
| project | No | The project. | |
| approval_id | No | Approval granted, when the organization requires an approval for a rollback in production. | |
| environment | No | Production or a preview. | production |