Replace a whole zone
livedns_zone_replaceReplace all DNS records in a LiveDNS zone with a supplied record set, keeping apex NS records by default and confirming changes before applying them.
Instructions
Replace all the records of a zone with the records given (1000 at most; import a zone file beyond). The NS records at @ are kept unless remove_apex_ns is set. The user is shown the counted effect and chooses, outside the conversation, whether a snapshot 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>",
"records": "<records>"
},
"name": "livedns_zone_replace"
}
}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. | |
| records | Yes | All the records of the zone after the change. | |
| remove_apex_ns | No | Also remove the NS records at @ when the records given have none. Only when the user asks for it. | |
| 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 | |||