safari_query_all
Finds all elements matching a CSS selector and returns each match's tag, text, href, and value so agents can inspect page content or locate targets for later interaction.
Instructions
Find all elements matching a CSS selector (returns tag, text, href, value). x/y are relative to each element's own frame viewport — for matches inside an iframe, click by selector or snapshot ref, not by these coordinates
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": {
"selector": "<selector>"
},
"name": "safari_query_all"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default: 20) | |
| receipt | No | Omit it: Daylight has no tab receipts and refuses a call that passes one | |
| selector | Yes | CSS selector |