screenshot_webpage
Capture a PNG screenshot of any webpage with support for desktop, mobile, and tablet viewports. Optionally capture full-page or wait for elements.
Instructions
Capture a PNG screenshot of any webpage. Supports desktop, mobile, and tablet viewports, plus full-page mode.
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": "screenshot_webpage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to capture | |
| full_page | No | Capture full scrollable page (default: false) | |
| viewport | No | Viewport size (default: desktop) | |
| wait_for | No | CSS selector to wait for | |
| wait_ms | No | Milliseconds to wait after page load |