Get failure details
get_failure_detailsRetrieve full diagnostic details for a failing Playwright test from a prior report: location, steps, logs, console/page errors, failed requests, and artifact paths. Use testId when titles repeat.
Instructions
Get the full diagnostic breakdown for one failing test from a previous run_playwright_test report: exact location, recent steps, call log, browser console errors, page errors, failed requests, and screenshot/trace/video/error-context paths. Pass testId when titles repeat (e.g. the same spec in several projects).
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": {
"reportPath": "<reportPath>",
"testTitle": "<testTitle>"
},
"name": "get_failure_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testId | No | Stable test identity from the run output; required when titles are duplicated (e.g. one spec in several projects). | |
| testTitle | Yes | Exact title of the failing test, as returned by run_playwright_test. | |
| reportPath | Yes | The `reportPath` returned by a previous run_playwright_test call for this run. | |
| projectRoot | No | Optional project root used to authorize an in-project report path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testId | No | ||
| location | No | ||
| errorType | Yes | ||
| fullTitle | No | ||
| testTitle | Yes | ||
| videoPath | No | ||
| pageErrors | No | ||
| projectName | No | ||
| recentSteps | No | ||
| errorMessage | Yes | ||
| traceZipPath | No | ||
| consoleErrors | No | ||
| networkErrors | No | ||
| callLogExcerpt | No | ||
| screenshotPath | No | ||
| errorContextPath | No | ||
| diagnosticsOmitted | No | ||
| diagnosticsSources | No | ||
| healingGateDirective | No |