browser.fork_session
Snapshot a session's cookies, storage, and current URL, then create an independent session for branching workflows or 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Omitted: fork-of-<source name>. | |
| start_url | No | Omitted: the source session's current URL. | |
| 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. |