retrieve_account_logs
Retrieve stored log entries for a Cloudflare account (Logpull). Returns NDJSON. Supports start, end, and path filters.
Instructions
Retrieve stored log entries for a Cloudflare account (Logpull). Returns NDJSON. Supports start, end, and path filters.
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": {
"account_id": "<account_id>"
},
"name": "retrieve_account_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End time (RFC3339 or Unix timestamp) | |
| path | No | Path/bucket of the log file(s) to retrieve | |
| start | No | Start time (RFC3339 or Unix timestamp) | |
| account_id | Yes | required,The ID of the Cloudflare account |