页面截图
page_screenshotCapture a screenshot of the current browser page as PNG, JPEG, or WebP for visual inspection. Image data is not returned by default; enable returnBase64 to receive it.
Instructions
对当前页面截图。图片数据默认不回传(体积大),需要看图时把 returnBase64 设为 true。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | 图片格式,默认 png | |
| quality | No | jpeg/webp 质量 0-100 | |
| fullPage | No | 是否尝试整页截图,默认 false | |
| maxBytes | No | 返回 base64 的体积上限,默认 800000 字节 | |
| returnBase64 | No | 是否返回 base64 数据,默认 false |