browser_init
Initialize a browser session with configurable headless, proxy, viewport, video, resource blocking, WebRTC leak protection, and fingerprint options; automatically recovers stale sessions.
Instructions
Initialize a browser session with configurable options: headless mode, proxy, viewport, video recording, resource filtering, WebRTC leak protection, and coherent fingerprint profiles. Automatically recovers stale sessions.
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_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proxy | No | ||
| headless | No | ||
| aiHealing | No | Enable selector fallback when a selector does not match | |
| fingerprint | No | Fingerprint profile: 'random' picks a coherent realistic profile (UA + viewport) for the OS this browser runs on, with timezone/locale taken from the live egress IP geo; or pass an object {userAgent, viewport:{width,height}, timezoneId, locale, geolocation, colorScheme}. Explicit contextOptions win on conflict. | |
| recordVideo | No | Record continuous video of the session | |
| widgetAssist | No | Automatically interact with embedded page widgets and challenge elements when present | |
| enableBlocker | No | Filter auxiliary scripts, telemetry, and background tracking requests | |
| contextOptions | No | Playwright BrowserContext options (viewport, userAgent, geolocation, permissions, httpCredentials, extraHTTPHeaders, etc.) | |
| blockWebRTCLeaks | No | Prevent local IP leaks via WebRTC when using proxies | |
| spoofFingerprint | No | Deprecated no-op, kept for backward compatibility. The browser reports its true hardware values; faking a device is detectable as masking. Use the fingerprint profile for a coherent preset. |