webtool_screenshot
Take a screenshot of any webpage or a specific element with custom device emulation for mobile and desktop views.
Instructions
Take a screenshot of a webpage or specific element on the page with custom device emulation
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": "webtool_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL of the webpage to screenshot | |
| selector | No | Optional CSS selector to screenshot a specific element | |
| useProxy | No | Whether to use a proxy for this request | |
| deviceConfig | No | Custom device configuration for emulation | |
| ignoreSSLErrors | No | Whether to ignore SSL certificate errors (default: true for development convenience) |