get_log_stats
Retrieve aggregated log statistics for a specific date and environment, including request counts by worker, status distribution, and error rates from Cloudflare Workers logpush data.
Instructions
Get aggregated statistics for logs on a specific date.
Args: date: Date in YYYYMMDD format. environment: Environment (production or staging).
Returns: Dict with statistics including request counts by worker, status distribution, error rate.
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": {
"date": "<date>"
},
"name": "get_log_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| environment | No | production |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||