cloudflare_delete_dns_record
Permanently delete a Cloudflare DNS record by matching its zone, name, and type, returning the deleted record so it can be recreated. An administrator approves the change before it runs.
Instructions
DESTRUCTIVE: delete a DNS record. name and type must match the record; they are checked first. The deleted record is returned so it can be recreated. 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>",
"record_id": "<record_id>",
"name": "<name>",
"type": "<type>"
},
"name": "cloudflare_delete_dns_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The record's name ("@", "www" or the full name). | |
| type | Yes | The record's type. | |
| zone_id | Yes | The zone ID (32 hex characters, from cloudflare_get_zone or cloudflare_list_zones). | |
| record_id | Yes | The DNS record ID (from cloudflare_list_dns_records). | |
| 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. |