Generate Bug Report
generate_bug_reportGenerate a structured bug report draft for a failed, timed-out, or flaky test from an approved Playwright JSON report. Supply the report path and test ID to produce the draft.
Instructions
Generate a structured draft bug report for one failed, timed-out, or flaky test from an approved Playwright JSON report.
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>",
"testId": "<testId>"
},
"name": "generate_bug_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testId | Yes | The normalized test ID returned by the failure-analysis tool. | |
| reportPath | Yes | Path to the report relative to the approved reports directory. |