browser_storage_save
Export current session cookies and localStorage as a Playwright storageState file, or return the JSON inline if no path is provided.
Instructions
Export current session (cookies + localStorage) as a Playwright storageState. Saves to path, or returns the state JSON if path omitted.
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": "browser_storage_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Output JSON file path. If omitted, returns the state inline. |