connect_or_open_browser
Connect to an existing Chrome browser or launch a new one for automation. Accepts configuration options like debug port, browser path, and headless mode via a dictionary.
Instructions
用DrissionPage 打开或接管已打开的浏览器,参数通过字典传递。 必要参数: config (dict): 可选键包括 、debug_port、browser_path、headless 返回: dict: 浏览器信息
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": "connect_or_open_browser"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No |