Save browser state
browser_state_saveSave session cookies and storage under a logical stateId to reuse authentication state in later isolated sessions.
Instructions
Save cookies and supported storage from one explicitly addressed session under a safe logical stateId. Use this only when a later new isolated session should restore that authentication state.
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": {
"sessionId": "<sessionId>",
"stateId": "<stateId>"
},
"name": "browser_state_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stateId | Yes | ||
| sessionId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| sessionId | Yes | ||
| operationId | Yes |