Roll a site back to an earlier version
rollback_siteMakes an earlier version of a site live again at the same URL. With no version_id it restores the version before the current one. get_site lists the versions available.
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": {
"site_id": "<site_id>"
},
"name": "rollback_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site_id returned by deploy_site, or listed by list_sites. | |
| version_id | No | The version to make live. Omit for the previous version. | |
| manage_token | No | The manage_token returned by deploy_site for this site. Needed while the site is temporary; not needed for a site that belongs to the signed-in account. |