browser.connect
Attach to an existing Chromium browser through its CDP WebSocket endpoint so it can be inspected and controlled without the daemon terminating it.
Instructions
Attach to a Chromium started elsewhere, via its CDP WebSocket endpoint. The daemon will never kill it.
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": {
"ws_endpoint": "<ws_endpoint>"
},
"name": "browser.connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| profile | No | ||
| ws_endpoint | Yes | ws://127.0.0.1:PORT/devtools/browser/... |