Roll back site
rollback_site(needs account token) Restores the previous version of a site. Restore undoes the last Update or Edit files save. Doing it again restores the version that was replaced. confirm=true applies it. Refused for a suspended or inactive site. Does not charge. After the site is claimed, the human can Restore from the site's Update screen.
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>",
"confirm": "<confirm>"
},
"name": "rollback_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The address of the site, for example myproject.dropthehassle.app. | |
| confirm | Yes | True applies the change. False leaves it unchanged and the reply describes what would change. |