断开自动化连接
wdt_disconnectDisconnects the WebSocket automation session from WeChat DevTools; set closeProject=true to also close the project window without exiting DevTools.
Instructions
关闭 WebSocket 自动化连接;closeProject=true 时同时关闭项目窗口。不会退出开发者工具。
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_disconnect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| closeProject | No | 是否同时关闭项目窗口 |