Explain a test failure
explain_failureAnalyze a Playwright error message to identify the likely root cause. Receive a suggested next step for resolving the failure, fully offline.
Instructions
Given a Playwright (or similar) error message, returns a heuristic, pattern-matched guess at the root cause and a suggested next step. Fully offline - no LLM call.
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": {
"errorMessage": "<errorMessage>"
},
"name": "explain_failure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errorMessage | Yes | The raw error/assertion message from a failed test. |