ruyi_take_screenshot
Capture the current page as a PNG screenshot. Save to a specified file path or receive a base64-encoded image, with optional full-page capture.
Instructions
对当前页面截图。可保存到文件或返回 base64 编码(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": "ruyi_take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageIdx | No | ||
| filePath | No | 保存路径(PNG)。不提供则返回 base64。 | |
| fullPage | No | 是否截取整页(默认仅视口) |