CDP: Launch
cdp_launchLaunch a browser or desktop app with a CDP debug port to enable automation, debugging, and remote control via Chrome DevTools Protocol.
Instructions
Launch an app with a CDP debug port so it can be driven. app = chrome|edge|brave|discord|notion|slack|vscode or an executable path. Electron apps (discord/notion) need force_restart if already running (this CLOSES the running window and reopens with the logged-in profile).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | App id or executable path. | |
| port | No | CDP debug port (default 9222). | |
| headless | No | Launch without a visible window (browsers only; ignored for Electron apps). Defaults to TRUE for agent calls. Set false ONLY when a human has asked to watch. | |
| force_restart | No | Quit a running instance first (destructive). | |
| user_data_dir | No | Optional profile dir (browsers). | |
| load_extension | No | Unpacked extension folder(s) to load in isolation (path, or comma-separated list). |