Edit Cloudflare zone settings
cloudflare_zone_setting_editChange up to 20 Cloudflare zone settings in order, validating each one first so nothing is sent when a change is refused. Use it to update SSL, cache, TLS and security options safely.
Instructions
Change 1 to 20 settings of a Cloudflare zone, in order. Every setting is read first, and nothing is sent if any change is refused: a value the setting does not accept, a setting that is already at the value, a setting the zone's plan does not let you change, or a change that lowers protection (a lower step of ssl, min_tls_version or security_level, or turning off always_use_https, automatic_https_rewrites, tls_1_3 or email_obfuscation); use cloudflare_zone_setting_weaken for those. If a later change fails, the result lists what was changed, the failure and the settings not sent. Zones are looked up only in the account's own zones.
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>",
"changes": "<changes>"
},
"name": "cloudflare_zone_setting_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | The zone domain or 32-hex id. | |
| account | No | The label of the credential pair to use, or "default" for the unlabeled one; left out, the unlabeled pair, else the only label. | |
| changes | Yes | 1 to 20 changes, each setting at most once, applied in order. Allowed values: ssl: off|flexible|full|strict; always_use_https: on|off; min_tls_version: 1.0|1.1|1.2|1.3; tls_1_3: on|off|zrt; automatic_https_rewrites: on|off; http3: on|off; ipv6: on|off; websockets: on|off; development_mode: on|off; security_level: off|essentially_off|low|medium|high|under_attack; cache_level: basic|simplified|aggressive; browser_cache_ttl: 0|30|60|120|300|1200|1800|3600|7200|10800|14400|18000|28800|43200|57600|72000|86400|172800|259200|345600|432000|691200|1382400|2073600|2678400|5356800|16070400|31536000; always_online: on|off; email_obfuscation: on|off. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | The zone the settings belong to. | |
| label | Yes | The account label. | |
| failed | No | The change that failed after earlier ones were applied; the rest were not sent. | |
| changed | Yes | The changes that were applied, in order. | |
| not_sent | No | The settings after the failed one, which were not sent. |