safari_get_element
Retrieve detailed info about a web element via CSS selector—tag, text, rect, attributes, visibility. Optionally pin to a tab with receipt for consistent automation.
Instructions
Get detailed info about an element (tag, text, rect, attributes, visibility)
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_get_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | No | Tab receipt from safari_new_tab — pins this call to that tab (survives reconnects/subagents) | |
| selector | Yes | CSS selector |