open_browser_session
Start an isolated Chrome session with its own cookies, storage and tabs, and get a sessionId to pass to every other browser tool. Reuse one session and add tabs instead of opening new ones.
Instructions
Open a new isolated browser session and return its sessionId; call this first, then pass the id to every other tool. Each session is its own Chrome BrowserContext with separate cookies, storage and tabs, so sessions never see each other, and it starts with one blank tab. Don't open a new session per page: reuse one and use new_page for more tabs. To start logged in, follow with load_browser_state before navigate. Set viewport for a specific window size and useMobileUA to look like a phone; both are fixed for the session's life. Sessions persist until close_browser_session, or until the reaper role closes ones idle for MAX_IDLE_HOURS (default 24). Fails if Chrome is unreachable at BROWSER_URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| viewport | No | Window size in CSS pixels, { width, height }. Default 1280x800. | |
| useMobileUA | No | Send a mobile User-Agent and client hints instead of desktop ones. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activeUrl | No | ||
| pageCount | Yes | ||
| sessionId | Yes |