find
Search page elements by role, name, or text (case-insensitive) to locate UI targets; returns up to 20 references, optionally in a specified tab or the active tab.
Instructions
Find elements whose role, name or text contains the query (case-insensitive). Returns up to 20 refs.
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 | ||
| tabId | No | Tab to act on. Omit for the active tab. |