spawn_browser
Create a new browser instance with its own profile and cookies for multi-account scraping or isolated sessions. Use switch_instance to route subsequent tools to this instance.
Instructions
Create a new named browser instance running in parallel with main. Each instance has its own profile, cookies, tabs, logs. Use for multi-account scraping or isolated sessions.
Args:
instance_id: unique name (e.g., "scraper_1", "acct_alice")
idle_timeout_seconds: auto-close after idle (0 = never, default 600s)
profile_dir: override profile path (default: ~/.mcp-stealth/profiles/<id>/)
other args: same as browser_launch
Use switch_instance(id) to route subsequent tool calls to this instance.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_id | Yes | ||
| url | No | about:blank | |
| headless | No | ||
| proxy | No | ||
| user_agent | No | ||
| window_width | No | ||
| window_height | No | ||
| persistent | No | ||
| lang | No | en-US | |
| extra_args | No | ||
| storage_state_path | No | ||
| idle_timeout_seconds | No | ||
| profile_dir | No |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |