get_playwright_test
Retrieve the generated Playwright spec that replays a TraceBug bug report session, fails while the bug exists, and passes once fixed—so you can reproduce and verify the fix.
Instructions
Get the generated Playwright spec that REPLAYS this bug report's session and asserts the captured failure is gone — the test fails while the bug exists and passes once fixed. Save it, run it to reproduce, then use it to verify your fix.
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": {
"file": "<file>"
},
"name": "get_playwright_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The report to read: a path to a TraceBug export file (.html), absolute or relative to the server's base directory — or just the filename, or a fragment of the filename or report title. Get exact paths from list_bug_reports. |