Find elements by description
findLocates up to 20 elements in a browser tab using a natural-language query and returns refs for form input or computer actions, so agents can target page controls by description.
Instructions
Find up to 20 elements matching a natural-language query (e.g. "search box", "login button"). Returns [ref_N] role "name" lines whose refs can be passed to form_input or computer.
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": {
"query": "<query>",
"tabId": "<tabId>"
},
"name": "find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What to find, in natural language | |
| tabId | Yes | Target tab ID (must be in the MCP group) |