Replace the DNS records of a name
livedns_name_records_replaceReplaces every DNS record of a given name in a LiveDNS zone with a new record set. Use it to overwrite all existing record types for one name in a single confirmed change.
Instructions
Replace all the records of a name, every type, with the records given. 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>",
"name": "<name>",
"records": "<records>"
},
"name": "livedns_name_records_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Record name relative to the zone: @ for the domain itself, www, *.dev, _dmarc. | |
| 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 | The records of the name after the change. | |
| 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 | |||