browser_find_targets
Search the last observed web page state for interactive elements by role, name, or enabled state to quickly locate targets for automation.
Instructions
Search the last observed page state for nodes matching specific criteria (role, name content, enabled state). Extremely fast and token-efficient.
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": "browser_find_targets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Filter by accessibility role (e.g. 'button', 'textbox'). | |
| onlyEnabled | No | Filter to only enabled/interactable elements. | |
| nameIncludes | No | Filter by substring in the accessible name. |