get_network_request
Retrieve a network request by optional request ID or fetch the currently selected DevTools Network panel request, returning request and response bodies inline or saving them to files.
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. |