Get failure details
get_failure_detailsExplains why Playwright tests failed by returning error messages, stack traces, locations, captured stdout/stderr, and screenshot or trace paths. Defaults to every failure in the most recent run.
Instructions
Explain why tests failed: full error message, stack, location, captured stdout/stderr and the screenshot or trace paths Playwright saved. Defaults to every failure in the most recent run.
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_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test | No | Only failures whose title contains this text. | |
| run_id | No | Run id returned by run_tests. Omit for the latest run. | |
| max_chars | No | Truncate each text field to this many characters (default 4000). |