browser_screenshot
Capture a browser tab as PNG, JPEG, or WebP to a temp/cwd path or base64 inline, with full-page, scale, quality, annotation, and width options.
Instructions
Capture screenshot to temp/cwd path (PNG/JPEG/WebP). Set include_image=true to return base64 inline.
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 |
|---|---|---|---|
| tab | No | Tab index string (e.g. '0'), targetId, or URL/title substring. | |
| full | No | Full scrollable page. | |
| path | No | Output path inside cwd or temp dir (optional). | |
| scale | No | Device scale factor (<= 3). | |
| quality | No | JPEG quality 1-100. | |
| annotate | No | Overlay @eN snapshot labels. | |
| max_width | No | Max width in pixels. | |
| include_image | No | Embed inline image in response. |