import_dns_zone
Import DNS records from a JSON array into a Cloudflare zone. Creates each record and returns a success/failure summary, with partial failures handled individually.
Instructions
Import DNS records from a JSON array, creating each record in the zone. Returns a success/failure summary with partial failure handling.
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": {
"records": "<records>"
},
"name": "import_dns_zone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| records | Yes | Array of DNS record objects to create | |
| zone_id | No | Cloudflare zone ID. Omit to use CLOUDFLARE_ZONE_ID env var. |