Take Browser Screenshot
browser_screenshotCapture PNG screenshots of Chromium viewports, full pages, or specific elements to verify visual state and debug layout issues.
Instructions
Capture a PNG screenshot of the current Chromium viewport, full 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": "browser_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | No | Optional task ID for execution tracking and cancellation | |
| fullPage | No | Capture full scrollable page instead of viewport only (default: false) | |
| selector | No | Optional selector to screenshot a specific visible element | |
| session_id | No | Optional target browser session ID (defaults to active default session) |