export_state
Exports cookies, credentials, bookmarks, or storage from a browser to a protected JSON file, masking secrets by default; disable masking to create a real backup.
Instructions
Export browser state to a JSON file (chmod 600). Returns path+counts.
redact=True (default) masks secret values — set False for a real backup.
origins lists origins whose storage to include.
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": {
"browser": "<browser>",
"path": "<path>"
},
"name": "export_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| kinds | No | ||
| redact | No | ||
| browser | Yes | ||
| origins | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||