pilot_annotated_screenshot
Capture a debug screenshot with red overlays and labels marking element positions from a prior snapshot. Use to verify element locations visually.
Instructions
Take a PNG screenshot with red overlay boxes and ref labels at each @eN/@cN element position. Use when the user wants a visual debug overlay showing where each snapshot ref is located on the page, or needs to verify element positions visually. Requires a prior pilot_snapshot call to populate the ref positions. For a clean visual capture without debug overlays, use pilot_screenshot instead.
Parameters:
output_path: Optional file path to save the annotated screenshot (default: temp directory)
Returns: The annotated screenshot as a base64 PNG image and the file path where it was saved.
Errors:
"No ref positions": Run pilot_snapshot first to capture element positions before taking an annotated screenshot.
Timeout: The page is unresponsive.
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": "pilot_annotated_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No | Output file path for the screenshot |