screenshot
Capture a PNG snapshot of the current page or a specific element. Specify a CSS selector for targeted capture or enable full_page to include the entire scrollable page.
Instructions
Capture a PNG screenshot of the current page or a specific element.
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 |
|---|---|---|---|
| selector | No | Optional CSS selector — captures only that element instead of the page. | |
| full_page | No | Capture the full scrollable page, not just the viewport (default: false). |