Add DNS record
cf_dns_addCreate a DNS record (A, AAAA, CNAME, TXT, MX) in a Cloudflare zone by specifying domain, type, name, and content. Optionally set proxy, TTL, and priority.
Instructions
Create a DNS record in a zone.
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>",
"type": "<type>",
"name": "<name>",
"content": "<content>"
},
"name": "cf_dns_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Zone domain | |
| type | Yes | Record type, e.g. A, AAAA, CNAME, TXT, MX | |
| name | Yes | Record name, e.g. www or @ for root | |
| content | Yes | Record value, e.g. an IP or target host | |
| proxied | No | Proxy through Cloudflare (orange cloud) | |
| ttl | No | TTL in seconds (1 = automatic) | |
| priority | No | Priority (MX/SRV only) | |
| account | No | Cloudflare account key from CF_ACCOUNTS (defaults to the first) |