safari_screenshot
Capture a visual Safari screenshot as base64 JPEG to verify page layout, styling, images, or colors when text snapshots cannot show them; set maxWidth to reduce token size.
Instructions
Take a visual screenshot (base64 JPEG). EXPENSIVE — use safari_snapshot instead for most tasks. Only use screenshot when you need to verify visual layout, styling, images, or colors that snapshot can't show. Pass maxWidth (e.g. 1024) for layout checks — far fewer tokens.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "safari_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | No | Omit it: Daylight has no tab receipts and refuses a call that passes one | |
| fullPage | No | Capture full page (not just viewport) | |
| maxWidth | No | Downscale to this pixel width before returning (default: env SAFARI_MCP_SCREENSHOT_MAX_WIDTH, else none). Retina captures are 2× the viewport; 1280 keeps text readable at a third fewer tokens, 800 is plenty for layout checks. 0 = never scale. |