e2e_network_logs
Query network request and response logs for a specific test run to debug failures. Filter by HTTP method, status code, URL pattern, or test name using the runDbId.
Instructions
Query network request/response logs for a specific test run. Returns filtered logs from SQLite. Use the runDbId from e2e_run results to drill down into network details on demand.
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": {
"runDbId": "<runDbId>"
},
"name": "e2e_network_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | Filter by HTTP method (GET, POST, etc.) | |
| runDbId | Yes | The run database ID (returned by e2e_run in the summary) | |
| testName | No | Filter by test name | |
| statusMax | No | Maximum HTTP status code | |
| statusMin | No | Minimum HTTP status code (e.g. 400 for errors only) | |
| errorsOnly | No | Only return requests with status >= 400 | |
| urlPattern | No | Regex pattern to match against request URLs | |
| includeBodies | No | Include request/response bodies (default: false, implies includeHeaders) | |
| includeHeaders | No | Include request/response headers (default: false) |