Load browser state
browser_load_stateRestore browser cookies, local storage, and IndexedDB from a Playwright-compatible JSON file to resume authenticated sessions; reload pages to apply the restored login.
Instructions
Replace browser cookies, local storage and IndexedDB from a Playwright-compatible JSON file.
Leaves sessionStorage and open tabs unchanged. Fetch or reload pages to use the restored login.
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": {
"session_id": "<session_id>",
"path": "<path>"
},
"name": "browser_load_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File on the MCP server host; relative to its working directory. | |
| session_id | Yes | ID from `browser_open`; no page fetch required. |