Network requests
network_requestsCaptures and lists a tab’s HTTP traffic with method, URL, status, type, size, and timing, and filters it by URL, resource type, method, status, or failures for debugging page behavior.
Instructions
Lists the tab's requests like the DevTools Network panel: id, method, URL, status, type, size, duration, cache, initiator. Filter by URL pattern, resource type, method, status or failures. Requests made before the agent started watching the tab are not available — reload to capture them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Include requests from before the last main-frame navigation (default false). | |
| clear | No | Clear the buffer after reading. | |
| limit | No | Return at most this many of the newest matches (default 100). | |
| tabId | No | Tab to act on. Defaults to the session target tab (see tab_select). | |
| types | No | Only these resource types. | |
| method | No | HTTP method, e.g. "POST". | |
| status | No | Status filter: a code ("404"), a class ("4xx"), or "failed". | |
| urlPattern | No | Substring or /regex/ the URL must match. |