Import a zone file
livedns_zone_importReplaces all DNS records of a domain's LiveDNS zone by importing an RFC 1035 zone file, with an optional snapshot and a counted preview of changes before you confirm.
Instructions
Replace all the records of a zone with a zone file (RFC 1035) of the gandi-mcp work directory; its content is sent to Gandi, never shown here. 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>",
"file": "<file>"
},
"name": "livedns_zone_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Zone file to import, relative to the gandi-mcp work directory. | |
| domain | Yes | Domain whose zone is served by LiveDNS, e.g. example.com (Unicode accepted). | |
| account | No | Account name; the default account when omitted. | |
| 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 | |||