Spotlight an element
qa_spotlightVisually highlights a page element by qa_snapshot ref or CSS selector with a dim-and-outline overlay, so a human tester can see exactly what the agent refers to without modifying it.
Instructions
Visually highlight (dim + outline) an element on the page — target it by a qa_snapshot ref (preferred) or a CSS selector — so the human tester can see what the agent is referring to. A non-destructive overlay — it does not click, focus, or modify the element.
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": "qa_spotlight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | A ref from qa_snapshot (e.g. "e12") — preferred over selector | |
| label | No | Optional caption shown on the highlight | |
| tabId | No | Target tab (from qa_tabs); omit for the active tab | |
| selector | No | CSS selector of the element to spotlight |