连接已开启的自动化端口
wdt_auto_connectConnects to an existing WeChat DevTools automation WebSocket port without starting the IDE, letting agents control an already-open DevTools session.
Instructions
不启动 IDE,直接连接一个已经用 auto 模式打开的自动化端口。
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_auto_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeoutMs | No | 连接超时,默认 30000 | |
| wsEndpoint | No | 默认 ws://127.0.0.1:9420 |