截图
browser_screenshotCapture a PNG of the active tab, a specific element, or the full page to review layouts and long documents. Returns the image inline and saves it to disk.
Instructions
Take a PNG screenshot of the active tab, or of a specific element (pass ref — the view is scrolled to it and the image is cropped to its bounding box). Pass fullPage:true to capture the whole document (not just the viewport) — use that when reviewing long pages or comparing layout. Returns the image inline (for vision-capable models) and saves it under ~/.aabrowser/screenshots/.
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 |
|---|---|---|---|
| ref | No | Element ref: screenshot only this element (default: whole viewport) | |
| tabId | No | Tab id (default: active tab) | |
| fullPage | No | Capture the whole document instead of the viewport (max 8000px tall) |