Set Cloudflare Proxy
set_cloudflare_proxyEnable or disable Cloudflare proxying (orange cloud) for a domain's DNS records, targeting all proxiable records or specific names, with dry-run preview and mail/MX warnings.
Instructions
Turn the Cloudflare proxy (orange cloud) on or off for a domain's DNS records. NOTE: connecting a domain deliberately imports every record DNS-only (grey cloud), because changing how traffic is served at the same time as changing who serves DNS makes failures hard to diagnose — so proxying is a separate, explicit step, best done AFTER confirming the site still works. Defaults to every proxiable record; pass records to target specific names ("@" = apex, bare labels like "www" are expanded). Only A/AAAA/CNAME can be proxied; anything else comes back under skipped with a reason rather than failing. Proxying hides the origin IP, so if MX points at a name you're proxying, mail to it breaks — that comes back in warnings. Reversible: call again with enabled=false. Use dry_run to preview.
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": {
"domain": "<domain>",
"enabled": "<enabled>"
},
"name": "set_cloudflare_proxy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain whose Cloudflare records to change. | |
| dry_run | No | Preview which records would change, without changing them. | |
| enabled | Yes | true = proxy through Cloudflare (orange cloud); false = DNS-only (grey cloud). | |
| records | No | Optional: limit to these names. "@" = apex; bare labels are expanded (e.g. ["@","www"]). |