Focus and photograph
focus_elementFocuses a selected page element and returns a screenshot so you can verify focus rings and catch missing keyboard-accessibility indicators.
Instructions
Focuses an element and returns a screenshot. Use it to check focus rings, which are the most commonly missing accessibility feature and are invisible in an ordinary capture.
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": "focus_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element | No | A number from the most recent annotate_interactive on this tab. Easier and safer than retyping a selector. | |
| selector | No |