save_storage_state
Export cookies, localStorage, and sessionStorage from an Electron app into a Playwright-compatible JSON storage state file for later reuse or inspection.
Instructions
Export all page cookies, localStorage, and sessionStorage into a standardized JSON storage state artifact (Playwright-compatible format)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_storage_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional destination file path. If omitted, saves to temporary artifact. | |
| targetId | No | ||
| processId | No | Target process ID. Omit if only one app is running. |