browser_network_request
Retrieve headers and body for one captured browser network request by index, or extract only request/response headers or body. Use the request number from the network request list.
Instructions
Returns full details (headers and body) of a single network request, or a single part if part is set. Use the number from browser_network_requests.
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": {
"index": "<index>"
},
"name": "browser_network_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part | No | Return only this part of the request. Omit to return full details. | |
| index | Yes | 1-based index of the request, as printed by browser_network_requests. | |
| filename | No | File name to save the result to. Relative file names are resolved against the workspace root. If not provided, output is returned as text. |