cloudflare_security_level_set
Update the security level for a Cloudflare zone, applying changes instantly to live traffic. Choose from off to under_attack, using the highest only during active DDoS attacks.
Instructions
DESTRUCTIVE: Update the security level for a zone. Changes affect live traffic immediately. Use 'under_attack' only during active DDoS attacks.
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>",
"value": "<value>"
},
"name": "cloudflare_security_level_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone_id | Yes | Zone ID (32-char hex) or zone name (e.g., 'example.com') | |
| value | Yes | Security level to set |