Restore a session from a file
browser_restore_sessionReplace the current session with one saved earlier (SessionStore.setBrowserState). WARNING: this REPLACES the windows and tabs that are open now — run browser_save_session first if you might want them back.
Instructions
Replace the current session with one saved earlier (SessionStore.setBrowserState). WARNING: this REPLACES the windows and tabs that are open now — run browser_save_session first if you might want them back. The file must be JSON produced by the save tool; anything else is rejected before the state is touched.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "browser_restore_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of a file written by browser_save_session |