snapdiff_capture_screenshot
Take a screenshot of a web page to inspect layout, verify rendering, or capture a baseline for visual comparison. Supports full page, specific elements, dark mode, and custom viewport.
Instructions
Take a screenshot of a web page. Use this when you need to see what a webpage looks like right now — to inspect layout, verify rendering, or capture a baseline for later comparison.
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": {
"url": "<url>"
},
"name": "snapdiff_capture_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The full URL to screenshot | |
| full_page | No | Capture the entire scrollable page. Default false | |
| dark_mode | No | Force dark color scheme. Default false | |
| selector | No | CSS selector to capture only a specific element | |
| width | No | Viewport width in pixels. Default 1280 |