Analyze a test failure
get-failureAnalyze a failure from the last test run, returning error details, stack trace, network and console errors, plus fix suggestions. Use after running tests.
Instructions
Analyze one failure from the most recent run-test execution: full message and code frame, expected vs actual, stack trace, failed network requests (4xx/5xx and dead endpoints), console errors, failure kind (assertion/timeout/browser-crash/syntax/config/server-unreachable) and concrete next steps. Use run-test first.
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-failure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | 1-based failure index from the last run (default 1) | |
| projectRoot | No | Only used to re-read the stored report |