截取模拟器画面
wdt_screenshotCaptures the current WeChat mini program simulator screen as a PNG and returns the file path. Use it to verify UI state or save visual output during automated testing.
Instructions
截取当前小程序模拟器画面为 PNG。path 省略时写入 MCP output 目录并返回文件路径。
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": "wdt_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | PNG 输出路径 |