browser_import_session
Restore browser cookies, localStorage, and sessionStorage from a JSON file or session data object so automated sessions retain prior login and state.
Instructions
Import session state (cookies, localStorage, sessionStorage) into the browser.
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_import_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to session JSON file | |
| session_data | No | Session data dictionary if path is not used |