take_screenshot
Capture web page screenshots efficiently with automatic tiling for full-page views. Optimized for CLI coding tools, it ensures accurate display of webpage updates and integrates with AI models. Save tiled images locally or process via API.
Instructions
Fast, efficient screenshot capture of web pages - optimized for CLI coding tools. Use this after performing updates to web pages to ensure your changes are displayed correctly. Automatically tiles full pages into 1072x1072 chunks for optimal processing.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
directory | No | Save tiled screenshots to a local directory (returns file paths instead of base64) | |
fullPage | No | Capture full page screenshot with tiling. If false, only the viewport is captured. | |
url | Yes | HTTP/HTTPS URL to capture | |
waitForMS | No | Additional wait time in milliseconds | |
waitUntil | No | Wait until event: load, domcontentloaded, networkidle0, networkidle2 | domcontentloaded |
width | No | Viewport width in pixels (max 1072) |