Restore a site version
restore_versionRestores a previous version of a site (version_id from list_versions) and publishes it. The current version is saved to history first, so this can be undone.
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>",
"version_id": "<version_id>"
},
"name": "restore_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id or name, e.g. "my-portfolio" or "my-portfolio.hostilo.page" (from list_sites). | |
| version_id | Yes | version_id from list_versions. |