Get Failed Network Calls
get_failed_network_callsExtracts HTTP 4xx/5xx and aborted/failed requests from a Playwright trace.zip to debug API or backend failures.
Instructions
Extracts all HTTP 4xx/5xx responses and aborted/failed requests across a Playwright trace.zip and returns JSON { tracePath, totalRequests, failedRequestsCount, failedRequests }. If tracePath (local .zip path) is omitted, auto-discovers the latest trace under cwd; returns an error if no trace exists. Use when debugging API/backend failures in isolation; prefer triage_failure for full root-cause, console, and locator analysis.
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_failed_network_calls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tracePath | No | Absolute or relative path to trace.zip (e.g. test-results/checkout/trace.zip). If omitted, uses the latest trace in the workspace. |