get_page_screenshots
Capture website screenshots in headless mode with options for full-page or element-specific images. Returns Base64 encoded output for easy integration and analysis.
Instructions
Capture screenshot of the current page.
Args:
full_page: Whether to capture the entire page or just the viewport
selector: Optional CSS selector to screenshot a specific element
context: Optional context object for logging (ignored)
Returns:
Base64 encoded screenshot image
Input Schema
Name | Required | Description | Default |
---|---|---|---|
context | No | ||
full_page | No | ||
selector | No |
Input Schema (JSON Schema)
{
"properties": {
"context": {
"anyOf": [
{},
{
"type": "null"
}
],
"default": null,
"title": "Context"
},
"full_page": {
"default": false,
"title": "Full Page",
"type": "boolean"
},
"selector": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Selector"
}
},
"title": "get_page_screenshotsArguments",
"type": "object"
}