update_dns_record
Update an existing DNS record with partial changes. Requires explicit confirmation to execute; otherwise returns a preview of the change.
Instructions
Update an existing DNS record (partial update). Requires confirm:true (human-approval gate); without it returns a preview only.
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>",
"record_id": "<record_id>"
},
"name": "update_dns_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone_id | Yes | The Cloudflare zone ID (32-char hex). Get it from list_zones. | |
| record_id | Yes | DNS record ID (from list_dns_records). | |
| type | No | DNS record type. | |
| name | No | ||
| content | No | ||
| ttl | No | ||
| proxied | No | ||
| priority | No | ||
| comment | No | ||
| confirm | No | Human-approval gate: must be true to actually perform this mutating operation. Omit or set false to get a non-executing preview of what would happen (with secrets redacted). A human should approve before this is set to true. |