cloudflare_set_always_use_https
Toggle Always Use HTTPS for a Cloudflare zone to redirect every HTTP request to HTTPS. Enable it to enforce encrypted connections, or disable it to stop redirects.
Instructions
Turn Always Use HTTPS on or off for a zone (redirects every http:// request to https://). Proposal: an administrator approves it before it runs.
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>",
"zone_name": "<zone_name>",
"enabled": "<enabled>"
},
"name": "cloudflare_set_always_use_https"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | true = on, false = off. | |
| zone_id | Yes | The zone ID (32 hex characters, from cloudflare_get_zone or cloudflare_list_zones). | |
| zone_name | Yes | The zone name (example.com.au). Checked against zone_id before anything is changed, so the approver sees which domain this is. |