screenshot
Capture a screenshot of the current webpage or a specific element using a CSS selector. Optionally capture the entire page for full content.
Instructions
对当前页面或指定元素截图
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 |
|---|---|---|---|
| selector | No | CSS选择器,截取特定元素(可选) | |
| fullPage | No | 是否截取整个页面(默认:false) |