network_failure_report
Diagnose network failures in Electron apps by gathering failed HTTP requests, capturing response bodies, and exporting a HAR file for inspection.
Instructions
Composite network diagnostics: gathers all failed HTTP requests (status >= 400 or failed requests), fetches response bodies inline, and exports a HAR artifact.
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": "network_failure_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | Optional limit of recent failures to return | |
| harPath | No | Optional path for the exported HAR file | |
| processId | No | Process ID. If omitted, uses the single running app. | |
| urlPattern | No | Optional URL substring or pattern filter | |
| exportHarFile | No | Whether to export a HAR file (default: true) |