Replace a DNS record
livedns_record_replaceReplace all values for a LiveDNS record by specifying domain, name, and record type, with optional TTL, to update Gandi DNS data.
Instructions
Replace all the values of the record of a name and type. 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>",
"record_type": "<record_type>",
"values": "<values>"
},
"name": "livedns_record_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | TTL in seconds, 300 to 2592000. | |
| 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). | |
| values | Yes | Values as LiveDNS writes them, e.g. 192.0.2.1 or 10 mail.example.com.; TXT values in double quotes. | |
| account | No | Account name; the default account when omitted. | |
| record_type | Yes | Record type, e.g. A, AAAA, MX, TXT, CNAME. | |
| 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 | |||