create_session
Create a persistent browser session to reuse cookies, localStorage, and login state across multiple screenshots or sequences. Pass the returned session ID to keep authenticated pages available.
Instructions
Create a persistent browser session (Starter+ plan required). The session keeps a live browser page open so you can reuse cookies, localStorage, and auth state across multiple take_screenshot or run_sequence calls. Pass the returned session_id to those tools. Sessions expire after 10 minutes of inactivity (hard cap: 30 minutes). Useful for AI agent workflows that log in once and then take multiple screenshots of authenticated pages.
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": "create_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cookies | No | Cookies to pre-load into the session browser page | |
| stealth | No | Launch this session with stealth mode (bypasses bot detection). Note: stealth sessions use a dedicated browser and consume more memory. | |
| viewport | No | Viewport dimensions for the session browser page |