Capture visible tab screenshot
browser_screenshotCapture the visible viewport of a controlled Chrome tab to inspect page state, returning the image directly or saving it to a specified local path.
Instructions
Capture a screenshot of the visible viewport of a controlled tab. Returns the image directly in the MCP response and optionally saves it to savePath.
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 |
|---|---|---|---|
| tabId | No | Controlled tab id (defaults to active controlled tab). | |
| format | No | Image format (default 'png'). | |
| quality | No | JPEG quality 10-100 (ignored for png). | |
| savePath | No | Optional local file path to write the captured image. |