Roll a site back
rollback_siteRestores an earlier site version by serving it live without publishing changes; use get_site to list valid versions, noting versions with collected files cannot be rolled back to.
Instructions
Serves an earlier version of a site again, without publishing anything. get_site lists the versions; one whose files were collected cannot be rolled 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": {
"site": "<site>",
"deployId": "<deployId>"
},
"name": "rollback_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Subdomain or site id, from list_sites. | |
| deployId | Yes | The version to serve, from get_site's `versions`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL it is served on. | |
| deployId | Yes | The version now being served. |