browser.launch
Launch a persistent Chromium profile with automatic camera, microphone, or screen capture permissions so getUserMedia and getDisplayMedia flows run without prompts.
Instructions
Launch a new Chromium with a persistent profile. Not usually needed: any tool auto-launches a browser when none is running. Needed for camera, microphone or screen capture: pass media (e.g. {camera:true, microphone:true, fake_devices:true, screen:true}) so getUserMedia/getDisplayMedia prompts and the screen picker are answered automatically. When url is given, the result reports what actually committed (landed.url, landed.title, landed.http_status) rather than echoing the request.
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.launch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Open this URL at startup. Launch-time navigation is racy; check landed in the result, or just use page.navigate. | |
| media | No | Camera, microphone and screen capture without prompts, for testing getUserMedia/getDisplayMedia flows. Fixed at process start: to change it, close and relaunch. Replaces the daemon's configured media default; media:{} launches without any. The page must be a secure context (https, or http://localhost). | |
| profile | No | Named persistent profile. Reused across runs. | |
| stealth | No | Hide automation signals (navigator.webdriver, Chrome for Testing banner, empty plugins) so bot detectors like Cloudflare Turnstile treat the browser as a normal user session. | |
| headless | No | Default false: a visible window a human can also use. | |
| extensions | No | Absolute paths to unpacked extension directories. | |
| extra_args | No | ||
| window_size | No | ||
| chromium_path | No | ||
| capture_netlog | No | Also record Chromium NetLog (DNS, sockets, TLS). |