get_network_requests
Retrieve HTTP requests captured from the connected Chrome tab, filterable by status, resource type, URL, and redirect hop, with method, size, and failure reason to diagnose network issues.
Instructions
Return HTTP requests captured from the connected tab — method, URL, resource type, status, transferred size, duration, initiator, and failure reason. Capture starts when this server connects to the tab: requests issued before that are NOT visible (unlike get_console_logs, which replays pre-connect history). Requests belonging to a previous page are pruned on navigation, mirroring the DevTools Network panel default; the new document request itself is kept. A redirect chain appears as one record per hop, sharing a requestId and distinguished by hop. WebSocket frames are not captured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of most-recent requests to return | |
| status | No | Filter by response status class, or by outcome: `failed` = network error/blocked, `pending` = still in flight. | |
| requestId | No | Return only this request, including every hop of its redirect chain. Pair with headerKeys to inspect one request in full. | |
| urlFilter | No | Case-insensitive substring match on the full (untruncated) request URL | |
| headerKeys | No | Return only these headers, matched case-insensitively, on both requestHeaders and responseHeaders. Omit to return no headers. Pass ["*"] for every header — that is bounded only by `limit`, so use it with `requestId` or a small limit. | |
| resourceType | No | Filter by CDP resource type. Any casing is accepted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requests | Yes |