take_screenshot
Capture website screenshots in PNG, JPEG, WebP, or PDF format with device emulation, dark mode, ad blocking, and full-page capture capabilities.
Instructions
Capture a screenshot of any website. Returns the image as a PNG, JPEG, WebP, or PDF. Supports device emulation (iPhone, Pixel, iPad), dark mode, ad blocking, cookie banner removal, full-page capture, and custom viewports.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to capture (must start with http:// or https://) | |
| format | No | Output format (default: png) | |
| width | No | Viewport width in pixels (default: 1280) | |
| height | No | Viewport height in pixels (default: 800) | |
| full_page | No | Capture entire scrollable page (default: false) | |
| quality | No | Image quality for JPEG/WebP, 1-100 (default: 90) | |
| delay | No | Milliseconds to wait after page load (default: 0) | |
| dark_mode | No | Enable dark mode CSS emulation (default: false) | |
| block_ads | No | Block advertisements and trackers (default: true) | |
| block_cookie_banners | No | Remove cookie consent banners (default: true) | |
| device | No | Device preset for mobile/tablet emulation | |
| hide_selectors | No | Comma-separated CSS selectors to hide before capture | |
| click_selector | No | CSS selector to click before capture |