list_network_requests
Inspect and filter a browser session’s network requests to verify API calls, tracking pixels, failed loads, statuses, redirects, headers, and response bodies.
Instructions
List the network requests the session's pages made, oldest first, from the most recent limit: method, URL, status (or failure reason), redirects and request body. With details, also request and response headers and, for fetch/XHR and documents, text or JSON response bodies up to 64 KB; credential headers and keys are masked, and nothing of a login a person does in a takeover is kept. urlContains narrows the list to matching URLs. Use it to check API calls, what a page sent and got back, tracking pixels and failed loads; use list_console_messages for script errors and logs. Pass visit (a seq from list_visits) to see one page load; without it, requests from every visit are merged and limit keeps the newest. A null status means the request hadn't finished when logged. It reads logs and changes nothing. Empty unless the listener role is running, and logs are deleted when the session closes.
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": {
"sessionId": "<sessionId>"
},
"name": "list_network_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Return at most this many of the newest requests. Default 500. | |
| visit | No | Only requests from this visit, by its `seq` from list_visits. Default: all visits. | |
| details | No | Include request and response headers and response bodies. Default false. | |
| sessionId | Yes | The id returned by open_browser_session. Errors if no open session has it. | |
| urlContains | No | Only requests whose URL contains this text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requests | Yes |