Screenshot Webview
webview_screenshotCapture a WebView page screenshot on a specified mobile device and save it to a local path, returning the file path for later access.
Instructions
page 级截图(Page.captureScreenshot)并落盘,返回文件路径(不回传 base64)。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device": "<device>",
"saveTo": "<saveTo>"
},
"name": "webview_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | 目标设备 serial(同 mobile_list_available_devices 的 id) | |
| saveTo | Yes | 保存绝对路径,如 D:\\tmp\\wv.png |