get_network_request
Retrieve a network request from the DevTools panel by request ID, or fall back to the currently selected one. Save request and response bodies to files or return them inline.
Instructions
Gets a network request by an optional reqid, if omitted returns the currently selected request in the DevTools Network panel.
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": "get_network_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reqid | No | The reqid of the network request. If omitted returns the currently selected request in the DevTools Network panel. | |
| requestFilePath | No | The absolute or relative path to a .network-request file to save the request body to. If omitted, the body is returned inline. | |
| responseFilePath | No | The absolute or relative path to a .network-response file to save the response body to. If omitted, the body is returned inline. |