screenshot
Capture website screenshots programmatically with customizable format, viewport, and full-page options. Ideal for automated testing and documentation.
Instructions
Takes a screenshot of a website.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
device | No | laptop-hidpi | |
format | No | ||
fullPage | No | ||
outputPath | Yes | ||
url | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"device": {
"default": "laptop-hidpi",
"enum": [
"ios-large",
"ios-small",
"android-large",
"android-medium",
"tablet-large",
"tablet-small",
"laptop-hidpi",
"laptop-mdpi"
],
"type": "string"
},
"format": {
"enum": [
"png",
"jpeg"
],
"type": "string"
},
"fullPage": {
"type": "boolean"
},
"outputPath": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"url",
"outputPath"
],
"type": "object"
}