update_dns_record
Update a Cloudflare DNS record by specifying its record ID and new values for content, TTL, proxied, name, type, or priority.
Instructions
Update an existing 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": {
"recordId": "<recordId>"
},
"name": "update_dns_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Time to live (TTL) in seconds | |
| name | No | DNS record name | |
| type | No | DNS record type | |
| content | No | DNS record content | |
| proxied | No | Whether the record should be proxied through Cloudflare | |
| zone_id | No | Cloudflare zone ID. Omit to use CLOUDFLARE_ZONE_ID env var. | |
| priority | No | Priority (for MX records) | |
| recordId | Yes | The DNS record ID to update |