Create Dns Record Tool
create_dns_record_toolCreate a new Cloudflare DNS record by specifying zone, type, name, and content, with optional TTL, proxy, priority, and comment settings.
Instructions
Create a new DNS record.
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>",
"type": "<type>",
"name": "<name>",
"content": "<content>"
},
"name": "create_dns_record_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | TTL in seconds, 1 = auto (default: 1) | |
| name | Yes | Record name (e.g., www, @, subdomain.example.com) | |
| type | Yes | Record type (A, AAAA, CNAME, MX, TXT, NS, SRV, CAA) | |
| comment | No | Optional comment | |
| content | Yes | Record content (IP address, target domain, etc.) | |
| proxied | No | Proxy through Cloudflare (default: false) | |
| zone_id | Yes | Zone ID (32-character hex string) | |
| priority | No | Priority for MX/SRV records |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||