Screenshot
screenshotCapture a page or element as a PNG image for QA, scraping, diagnostics, or reproducible browser workflows, and optionally save the image as an artifact.
Instructions
Capture a page or element screenshot as PNG image content.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | Page id. Defaults to the active page. | |
| fullPage | No | ||
| selector | No | ||
| saveArtifact | No |