safari_screenshot_element
Capture a screenshot of a specific element on a Safari page using its CSS selector, returning a base64 image for direct use in automation.
Instructions
Take a screenshot of a specific element (by CSS selector). Returns a base64 image.
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_screenshot_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 of the element to capture |