Undo
undoPut the site back as it was before a change, undoing it and every change since. Take the change id from history. The undo is itself a change, so it can be undone too.
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": {
"change_id": "<change_id>"
},
"name": "undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | The site token from create_site or the site's settings. Omit if your Authorization header carries it. | |
| change_id | Yes | From history |