Rollback Deployment
deployment_rollbackRolls back to a previously-succeeded deployment by shifting 100% of
live Cloud Run traffic to its existing revision (no rebuild).
deployment_id is the PRIOR SUCCEEDED deployment to restore. There
is no separate release identifier. Refused with a clear error if the
target deployment did not succeed, has no runtime revision to
restore, or its environment currently has another deployment in
progress. Returns the newly-created rollback deployment (trigger
rollback), which becomes the current live deployment for that
environment.
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_id": "<app_id>",
"deployment_id": "<deployment_id>"
},
"name": "deployment_rollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The app uuid returned by `apps_list`. | |
| deployment_id | Yes | The prior succeeded deployment to roll back to, from `deployments_list`. | |
| organization_id | No | An organisation uuid or slug. When supplied, `app_id` is resolved within that organisation and may be a slug instead of a uuid, mirroring the Meridian web app. |