screenshot
Capture the current tab or a specific element as an image when snapshots cannot show visual details in canvas, images, or complex layouts; optionally capture the full page.
Instructions
截图当前标签页(可指定 ref 只截某个元素)。用于快照看不清的场景(canvas、图片、复杂布局)。操作元素仍请用 snapshot 的 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": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | 只截这个元素 | |
| fullPage | No | 截整页(长页面),默认只截可视区域 |