find
Locate visible Safari page elements by role, name, or text query and return up to 20 references for targeted interaction.
Instructions
Find visible elements whose role/name/text contains the query. 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 |
|---|---|---|---|
| tab | No | Tab id "windowId:tabIndex" from tabs_list. Omit for the active tab of the front window. | |
| query | Yes |