网络请求列表(抓包)
browser_network_requestsList captured HTTP network requests of the active tab—id, method, status, type, size, duration, and URL—with filters by method, status, type, or URL. Capture starts automatically on first use.
Instructions
List captured network requests of the active tab (HTTP-level packet capture): id, method, status, type, size, duration, URL. Capture starts automatically on first use. Use browser_network_detail with a request id to inspect headers and response body.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_network_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max entries (default 50, newest last) | |
| tabId | No | Tab id (default: active tab) | |
| method | No | Filter by HTTP method, e.g. GET/POST | |
| statusMax | No | Maximum HTTP status | |
| statusMin | No | Minimum HTTP status (e.g. 400 for errors) | |
| urlContains | No | Only requests whose URL contains this (case-insensitive) | |
| resourceType | No | Filter by type: Document/Script/XHR/Fetch/Image/Stylesheet/… |