get_screenshot
Retrieves a screenshot from a TraceBug bug report as an image so you can inspect exactly what the page showed at a given step. Pick the report file and a zero-based screenshot index.
Instructions
Get one screenshot from a TraceBug bug report as an image. Screenshots are auto-named from the action that triggered them (e.g. 01_click_submit.png).
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_screenshot"
}
}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. | |
| index | No | Zero-based screenshot index (default 0). list_bug_reports shows the count. |