browser_set_storage_state
Restore cookies and local storage from a saved file to set a specific browser state, clearing existing data before loading.
Instructions
Restore storage state (cookies, local storage) from a file. This clears existing cookies and local storage before restoring.
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": {
"filename": "<filename>"
},
"name": "browser_set_storage_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Path to the storage state file to restore from |