save_storage_state
Save browser session authentication state (cookies and localStorage) to a JSON file for later restoration, enabling persistent login sessions.
Instructions
Save a session's cookies + localStorage (auth state) to a JSON file.
The file holds live authentication secrets — store it securely and never commit it. Restore it by setting BROWSER_STORAGE_STATE= before the session starts.
Args: session_id: An existing session ID (create one via browse/extract with session_id) path: File path to write the storage-state JSON to
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": "save_storage_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |