browser.fork_session
Clone a browser session's cookies, storage, and current URL into a new independent session to branch workflows or run parallel variants.
Instructions
Fork a session: snapshot its cookies, storage state, and current URL, then create a new independent session with that state. Useful for branching workflows or running parallel variants. Without start_url, a page that is no URL to open (blank, data:, Chrome's error page) forks onto a blank page. Counts as a new session: needs MAX_SESSIONS of at least 2.
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.fork_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Omitted: fork-of-<source name>. | |
| start_url | No | Omitted: the source session's current URL, or a blank page when that is no URL to open (blank, data:, Chrome's error page for a stopped or failed navigation). | |
| session_id | No | Target session id, from browser.create_session or browser.list_sessions. Optional when exactly one session is live; observe and act tools create one when none is. | |
| user_agent | No | Omitted: the source session's User-Agent. | |
| proxy_persona | No | Omitted: the source session's proxy persona. | |
| protection_mode | No | Omitted: the source session's witness protection mode. |