screenshot_viewport
Capture web page screenshots with customizable viewport dimensions and device presets for testing responsive designs and monitoring web content.
Instructions
Take a screenshot with specific viewport settings
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fullPage | No | Capture full page screenshot | |
| height | No | Custom viewport height | |
| preset | No | Viewport preset to use | |
| width | No | Custom viewport width |
Input Schema (JSON Schema)
{
"properties": {
"fullPage": {
"default": false,
"description": "Capture full page screenshot",
"type": "boolean"
},
"height": {
"description": "Custom viewport height",
"type": "number"
},
"preset": {
"description": "Viewport preset to use",
"enum": [
"mobile",
"tablet",
"desktop",
"laptop"
],
"type": "string"
},
"width": {
"description": "Custom viewport width",
"type": "number"
}
},
"type": "object"
}