Save browser state
browser_save_stateSave browser cookies, local storage, and IndexedDB to a Playwright-compatible JSON file for later session reuse; sessionStorage is excluded.
Instructions
Save browser cookies, local storage and IndexedDB as Playwright-compatible JSON. Excludes sessionStorage.
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_save_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File on the MCP server host; relative to its working directory. Overwrites the file; parent must exist. | |
| session_id | Yes | ID from `browser_open`; no page fetch required. |