Get network request
get_network_requestInspect a network request's URL, method, resource type, and bodies. Use it to read JSON your page already fetches instead of scraping rendered DOM.
Instructions
Inspect one network request: URL, method, resource type and both bodies.
Often the fastest way to get structured data out of a site: find the page's own API call with list_network_requests, then read the JSON it already received here, instead of scraping the rendered DOM.
Inline bodies are truncated at 5000 characters, so pass a file path for anything larger. Response bodies are only available while Chrome still holds them in its buffer — for a long-finished request the entry may still be listed while its body is already gone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reqid | No | Request id, as shown in square brackets by list_network_requests. Omit to get the most recent request. | |
| request_file_path | No | Write the request body (POST data) to this local file path instead of including it in the response. | |
| response_file_path | No | Write the response body to this local file path instead of including it. Use this for binary responses (images, PDFs, archives) — they are base64-decoded on the way out. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |