browser_connect
Connect to Chrome or Firefox using Playwright, either by launching a persistent profile or attaching via CDP for automation.
Instructions
Connect Chrome or Firefox via Playwright (launch persistent profile, or CDP attach for Chrome).
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": "browser_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| browser | No | ||
| cdp_url | No | For mode=cdp, e.g. http://127.0.0.1:9222 | |
| headless | No |