Restore a snapshot
livedns_snapshot_restoreReplace all records in a LiveDNS zone with those from a snapshot after showing the counted effect and obtaining user confirmation.
Instructions
Replace all the records of a zone with those of a snapshot. The user is shown the counted effect and chooses, outside the conversation, whether a snapshot of the current zone is taken first. The user confirms outside the conversation; if the result is confirmation_pending, call again with the same arguments and the returned confirmation_id once the user answered.
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>",
"snapshot_id": "<snapshot_id>"
},
"name": "livedns_snapshot_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain whose zone is served by LiveDNS, e.g. example.com (Unicode accepted). | |
| account | No | Account name; the default account when omitted. | |
| snapshot_id | Yes | Snapshot identifier, from livedns_snapshots. | |
| confirmation_id | No | Identifier returned by a pending confirmation, once the user has answered on the page opened in their browser. Never invent one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||