启动浏览器
browser_launchLaunches a new browser instance with configurable options such as headless mode, incognito, custom arguments, and user data path for web automation.
Instructions
启动一个新的浏览器实例(自动分配调试端口)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headless | No | 是否无头模式 | |
| arguments | No | 附加的 Chromium 启动参数,如 ["--lang=zh-CN"] | |
| incognito | No | 是否无痕模式 | |
| browser_path | No | 浏览器可执行文件路径,默认使用系统 Chrome | |
| user_data_path | No | 用户数据目录(持久化登录态时指定) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | launched=本服务启动, connected=接管已有浏览器 | |
| address | Yes | ||
| tab_ids | No | ||
| is_alive | Yes | ||
| browser_id | Yes | ||
| context_ids | No | ||
| is_headless | No |