Restore a theme revision
restore_theme_revisionOn one site of the account, named in site. The rollback: the theme's files back to a commit from theme_history, as a new commit in the person's name — never a rewind, so the history keeps every step — and live like any write once whole (a theme that builds rebuilds first, unless that tree was built before). 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>",
"theme": "<theme>",
"sha": "<sha>"
},
"name": "restore_theme_revision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | Yes | ||
| site | Yes | The site to work on, as list_sites names it | |
| theme | Yes |