Restore the site pages to a revision
restore_site_pagesOn one site of the account, named in site. The rollback: the site folder's files back to a commit from site_pages_history, as a new commit in the person's name and live at once — never a rewind, so the history keeps every step. A page deleted since comes back with it. Admins only.
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>",
"sha": "<sha>"
},
"name": "restore_site_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | Yes | ||
| site | Yes | The site to work on, as list_sites names it |