read_log_file
Retrieve and parse Cloudflare Workers logpush data from R2 storage to analyze log entries with configurable limits.
Instructions
Read and parse a specific log file from R2.
Args: path: Full object path/key (e.g., "production/20260111/filename.log.gz"). limit: Maximum number of entries to return (default 100).
Returns: Dict with entries array and count.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| limit | No |