browser_screenshot
Capture a webpage as a PNG image. Provide a URL to open and screenshot, or screenshot the current page, with options to wait and capture full page.
Instructions
打开一个网页并截图。如果已打开页面,直接截图当前页。返回 PNG 图片。
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 |
|---|---|---|---|
| url | No | 要访问的 URL(可选,留空则截图当前页) | |
| waitMs | No | 等待毫秒数,默认 1000 | |
| fullPage | No | 截取整个页面(含滚动部分) |