Rollback
rollbackRedeploy an earlier successfully deployed commit: a new commit copying its tree, then the deploy. Never counts as a code change.
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": "<app>",
"sha": "<sha>"
},
"name": "rollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | The app slug. | |
| sha | Yes | An earlier successfully deployed sha: the new commit copies its tree. | |
| wait | No | Wait for the deploy (default true). |