find
Locate page elements by role, accessible name, or text using a case-insensitive query, returning up to 20 references for browser automation.
Instructions
Find elements whose role, accessible 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. Defaults to the active tab of the focused Zen window. |