find
Locates interactive or visible page elements using a natural-language query, returning up to 20 ranked matches with reference IDs and bounding boxes.
Instructions
Find interactive or visible elements on the page using a natural-language query (matches accessible names, labels, placeholders, roles, button/link text, and aria attributes). Returns up to 20 ranked matches with ref IDs and bounding boxes.
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>"
},
"name": "find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural-language description of what to find (e.g., "search bar", "Submit button", "email input"). | |
| tabId | No | Target tab ID (defaults to active managed tab). |