Disconnect Webview
webview_disconnectRelease the CDP connection to a webview, freeing its unique socket for transfer to Appium or chromedriver. Use before handing over the webview to avoid conflicts.
Instructions
断开本工具对 webview 的 CDP 连接,释放该 page 的唯一 CDP socket(把 webview 交给 Appium/chromedriver 前先调它)。
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>"
},
"name": "webview_disconnect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | 目标设备 serial(同 mobile_list_available_devices 的 id) |