safari_query_elements
Query DOM elements on the current Safari page by CSS selector, with optional result limits and tab or window targeting for browser automation.
Instructions
Query DOM elements in the current Safari page.
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_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| selector | Yes | ||
| tab_index | No | ||
| window_index | No |