import_state
Import browser state from a JSON file by creating a new context, restoring previous session data for continued analysis.
Instructions
Import browser state from a JSON file by creating a new context.
Args: state_path: Path to the state JSON file (exported by export_state).
Returns: dict with status and the new context name.
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": {
"state_path": "<state_path>"
},
"name": "import_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state_path | Yes |