cf_dns_upsert
Create or update DNS records in a Cloudflare zone with idempotency by type and name. Set content, TTL, proxied flag, and comments.
Instructions
Create or update a DNS record in a zone (idempotent by type + name). Set type/name/content plus optional ttl (1=automatic), proxied flag and comment.
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": "<zone>",
"name": "<name>",
"type": "<type>",
"content": "<content>"
},
"name": "cf_dns_upsert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | ||
| name | Yes | ||
| type | Yes | ||
| zone | Yes | ||
| comment | No | ||
| content | Yes | ||
| proxied | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| error | No | ||
| result | No |