Traffic through Cloudflare
cf_analyticsTraffic through Cloudflare for a zone (proxied traffic only): requests, cached share, visitors, threats, bandwidth and status codes per day for up to 30 days, top countries, requests per hour for the last 24 hours, and a sample of the firewall events of the last 24 hours (what was blocked or challenged, by action, source, address, path and country). The place to look during a bot attack or a traffic alert.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cf_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | 1 to 30, default 7. | |
| zone | No | The zone (domain) at Cloudflare, or any host inside it. Not needed when the user has one zone. |