List network requests
list_network_requestsList network requests made by the current page to identify API calls. Filter by URL or resource type (XHR/Fetch) to find JSON endpoints, then retrieve response bodies.
Instructions
List the network requests the selected page has made.
Collection is automatic — unlike console capture, nothing needs enabling.
The main use is finding the JSON API a page calls: filter with resource_types=["XHR", "Fetch"], then pass the id from the square brackets to get_network_request to read the actual response body. That is usually far cheaper and more reliable than scraping the rendered DOM.
Only the most recent 1000 requests are retained, and each URL is truncated to 150 characters in this listing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| browser | No | Which browser to act on. Each name is an independent Chrome, created on first use. Omit for the shared default; parallel agents each need their own name. | default |
| page_idx | No | 0-based page number, used together with page_size. | |
| page_size | No | Maximum number of requests to return. Omit to return all. | |
| url_filter | No | Only return requests whose URL contains this substring (plain text, not a regex), e.g. "/api/" or "graphql". | |
| resource_types | No | Only return these resource types. ["XHR", "Fetch"] is the useful filter for finding a page's own API calls. Matching is case-insensitive. Omit for all types. | |
| include_preserved_requests | No | Also include requests from before the last navigation — the server keeps the previous 3 navigations. Default false: current page only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |