Export a snapshot to a file
livedns_snapshot_exportExport a LiveDNS snapshot to an RFC 1035 zone file in the gandi-mcp work directory, returning only the file name, size, and record count.
Instructions
Write a snapshot as a zone file (RFC 1035) in the gandi-mcp work directory; only the file name, its size and its number of records are returned.
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>",
"file": "<file>"
},
"name": "livedns_snapshot_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File to write, relative to the gandi-mcp work directory (subdirectories allowed, e.g. zones/example.com.zone). | |
| domain | Yes | Domain whose zone is served by LiveDNS, e.g. example.com (Unicode accepted). | |
| account | No | Account name; the default account when omitted. | |
| overwrite | No | Replace the file if it exists. Only when the user asks for it. | |
| snapshot_id | Yes | Snapshot identifier, from livedns_snapshots. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||