Get Top Pages Tool
get_top_pages_toolRetrieve top pages by request count for a Cloudflare zone using a zone ID or domain, with optional date range and result limit. Use it to analyze traffic trends.
Instructions
Get top pages by request count.
Provide either zone_id or zone_name, not both.
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": "get_top_pages_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results (default: 15) | |
| since | No | Start date ISO format (default: 30 days ago) | |
| until | No | End date ISO format (default: today) | |
| zone_id | No | Zone ID (32-character hex string) | |
| zone_name | No | Zone name (domain like example.com) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||