take_screenshot
Capture high-quality webpage screenshots using Safari on macOS. Specify URL, dimensions, zoom level, and save path. Automates page load wait time for accurate results.
Instructions
Take a screenshot of a webpage using Safari on macOS
Input Schema
Name | Required | Description | Default |
---|---|---|---|
height | No | Window height in pixels (default: 768) | |
outputPath | No | Path where the screenshot will be saved (default: ./screenshots/[hostname]-[timestamp].png) | |
url | Yes | URL to capture | |
waitTime | No | Time to wait for page load in seconds (default: 3) | |
width | No | Window width in pixels (default: 1024) | |
zoomLevel | No | Zoom level (1 = 100%, 0.5 = 50%, 2 = 200%) |
Input Schema (JSON Schema)
{
"properties": {
"height": {
"default": 768,
"description": "Window height in pixels (default: 768)",
"type": "number"
},
"outputPath": {
"default": "",
"description": "Path where the screenshot will be saved (default: ./screenshots/[hostname]-[timestamp].png)",
"type": "string"
},
"url": {
"description": "URL to capture",
"type": "string"
},
"waitTime": {
"default": 3,
"description": "Time to wait for page load in seconds (default: 3)",
"type": "number"
},
"width": {
"default": 1024,
"description": "Window width in pixels (default: 1024)",
"type": "number"
},
"zoomLevel": {
"default": 1,
"description": "Zoom level (1 = 100%, 0.5 = 50%, 2 = 200%)",
"type": "number"
}
},
"required": [
"url"
],
"type": "object"
}