browser_screenshot
Capture a full page, visible viewport, or specific element by ref and save it locally as an image for multimodal viewing.
Instructions
截屏并保存到本地,返回图片(供多模态查看)。可整页、可视区或单元素(ref)。
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 | 只截该元素 | |
| filename | No | 文件名(不含扩展名,默认时间戳) | |
| fullPage | No | 整页截图(默认只截可视区) |