Publish an earlier build of a site
rollback_sitePublish the build of an earlier deploy that went live, as a new deploy, in place of what the site shows now. A later push to the default branch replaces it. Pass the same idempotencyKey on a retry to publish it once. Requires the config:write capability.
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": {
"siteId": "<siteId>",
"deployId": "<deployId>"
},
"name": "rollback_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site id from list_sites | |
| deployId | Yes | A deploy id from list_site_deploys whose status is 'live' | |
| idempotencyKey | No | Any unique string; repeat it on a retry |