Rollback Deploy
rollbackDeployRevert an app to an earlier deployment by restarting all services, including the database, using a specific deploy ID and the original image from the registry.
Instructions
Needs a running, build-backed app whose target image is still in the registry. Restarts every service in the instance, database included.
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": {
"workspaceSlug": "<workspaceSlug>",
"appSlug": "<appSlug>",
"deployId": "<deployId>"
},
"name": "rollbackDeploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| region | No | ||
| appSlug | Yes | ||
| deployId | Yes | ||
| workspaceSlug | Yes |