Restore my site backup
restore_my_site_backupRestores one of the customer's SHARED hosting sites from a restore point. DESTRUCTIVE. A nightly point is merged over the whole live site, so changes made since it was taken are lost (files added since may survive). An edit point (backupId "edit_…") puts back ONLY the files that write replaced, after setting their current versions aside as a new edit point, so it can itself be undone. Two-step: (1) call with confirm:false — the preview names the restore point and says exactly what will change; read it to the customer and ask for an explicit yes. (2) ONLY after an explicit yes in their most recent message, call with confirm:true. Get backupId from list_my_backups; never guess one.
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": {
"domain": "<domain>",
"backupId": "<backupId>"
},
"name": "restore_my_site_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The hosted site's domain. | |
| confirm | No | false (default) returns the preview; true restores. Pass true ONLY after explicit user confirmation. | |
| backupId | Yes | A backupId from list_my_backups. |