Revert site version
revert_site_versionSwitch the live site back to an earlier version from its deployment history (the dashboard's Revert button). This REPLACES the current live version, so confirm with the user first.
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_name": "<site_name>",
"version_id": "<version_id>"
},
"name": "revert_site_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_name | Yes | Name of the site | |
| version_id | Yes | Version to switch back to, from list_site_deployments |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |