wavexis_annotated_screenshot
Capture a screenshot with numbered labels on targeted elements, returning a label-to-selector map for locating elements in follow-up actions.
Instructions
Capture a screenshot with numbered labels overlaid on elements.
Injects overlay divs with labels @e1, @e2, ... on each element matching the provided selectors, captures a screenshot, removes the overlays, and returns the image plus a label-to-selector map.
Use wavexis_screenshot for plain captures, or this tool when
visual element identification is needed for follow-up actions.
Side effects: uses an existing session backend, injects and removes
temporary overlay DOM nodes; writes to output_path when given.
Returns: JSON string with keys: 'status' ('ok'/'error'), 'format'
(str), 'base64' (str) or 'path' (str), 'size_bytes' (int), 'labels'
(dict[str, str]).
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": {
"input": "<input>"
},
"name": "wavexis_annotated_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |