cloudflare_create_dns_record
Creates A, AAAA, CNAME, MX, TXT, or NS DNS records in a Cloudflare zone, with administrator approval before the change runs.
Instructions
Create a DNS record (A, AAAA, CNAME, MX, TXT or NS) in a zone. name may be "@", "www" or the full name. Proposal: an administrator approves it before it runs.
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": {
"zone_id": "<zone_id>",
"zone_name": "<zone_name>",
"type": "<type>",
"name": "<name>",
"content": "<content>"
},
"name": "cloudflare_create_dns_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | TTL in seconds: 1 = automatic (default), or 60 to 86400. | |
| name | Yes | Record name: "@" (the apex), "www", or the full name. | |
| type | Yes | Record type. | |
| comment | No | A note on the record (Cloudflare record comment). | |
| content | Yes | Record content: an IPv4 (A) or IPv6 (AAAA) address, a host name (CNAME, MX, NS), or TXT text without surrounding quotes. | |
| proxied | No | Proxy through Cloudflare (orange cloud). A, AAAA and CNAME only; default false (DNS only). | |
| zone_id | Yes | The zone ID (32 hex characters, from cloudflare_get_zone or cloudflare_list_zones). | |
| priority | No | MX priority (required for MX). | |
| zone_name | Yes | The zone name (example.com.au). Checked against zone_id before anything is changed, so the approver sees which domain this is. |