Skip to content

Deployment

deployment_service_rollback

Roll a service back to a previous deployment.

Tool

deployment_service_rollback

Roll a service back to a previous deployment.

Behavior

Typical sequence
  1. deployment_deployment_list
  2. deployment_service_rollback

Arguments

NameTypeRequiredDescription
serviceIduuidService to roll back.
deploymentIduuidPrevious deployment to promote back to production.

Try it

Roll the api service back to the previous good deployment.

When to use

Re-deploy a service using the image of an earlier deployment, promoting that revision back to running. Use deployment_deployment_list to find the deployment id to roll back to.

Example

Ask your agent something like this:

Roll the api service back to the previous good deployment.

The agent will invoke deployment_service_rollback with these arguments:

{
  "serviceId": "svc-uuid",
  "deploymentId": "dep-uuid"
}

Esc

Start typing to search the docs.

navigateselect