get_errors
Retrieve error logs and exceptions from Cloudflare Workers logpush data for a specific date and environment. Filter by script name and control result limits to analyze system issues.
Instructions
Get error logs and exceptions for a specific date.
Args: date: Date in YYYYMMDD format. environment: Environment (production or staging). script_name: Filter by worker script name (optional). limit: Maximum entries to return (default 50).
Returns: Dict with error entries including exceptions and error-level logs.
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_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| environment | No | production | |
| script_name | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||