webview
Discover and inspect already-debuggable Android embedded browser instances by device, package, or PID; then read scripts, source, DOM, network events, and response bodies and close the session.
Instructions
明确serial/packageName/pid的已开放调试WebView。discover/open后scripts/source/dom/network/body,最后close。只采集Network启用后事件;不用外部URL,不强制开调试。
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": {
"action": "<action>"
},
"name": "webview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| action | Yes | ||
| serial | No | ||
| rootRead | No | ||
| scriptId | No | ||
| targetId | No | ||
| requestId | No | ||
| sessionId | No | ||
| packageName | No |