Storage state
storageExport or import cookies and local site data as a Playwright state file to keep logins across browser restarts; imports apply cookies immediately and write local data via CDP.
Instructions
Export or import cookies + localStorage as a Playwright storage-state file. Use this to persist logins across browser restarts. Import applies cookies immediately and writes localStorage through CDP.
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": {
"action": "<action>"
},
"name": "storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Export: save path under the artifact dir. Import: JSON file path. | |
| state | No | Import: inline storage state ({cookies, origins}). | |
| action | Yes | ||
| include_state | No | Export: include state in the response. |