rollback_deployment
Roll back a project's production deployment to a previous version by providing the deployment ID. This enables instant rollback to recover from issues.
Instructions
Roll a project's production back to a previous deployment (instant rollback). Pass the deployment id you want to roll back to.
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": {
"projectId": "<projectId>",
"deploymentId": "<deploymentId>"
},
"name": "rollback_deployment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project id or name. | |
| deploymentId | Yes | Deployment id to roll back to (dpl_...). | |
| teamId | No | Team ID to scope the request. Falls back to VERCEL_TEAM_ID when omitted. | |
| slug | No | Team slug to scope the request (alternative to teamId). |