find
Search the current browser page for elements by role, name, or text and return up to 20 ref matches for interaction.
Instructions
Search the current page for elements whose role/name/text contains query (case-insensitive). Returns up to 20 ref_N matches.
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 | Text to look for, e.g. "Sign in". | |
| tabId | No | Tab ID to target. Omit to act on the current tab. |