cookie_export
Export browser cookies to a JSON file compatible with cookie_import, EditThisCookie, and Playwright. Saves cookies to the storage states directory.
Instructions
Export cookies to a JSON file. Cookies-only (use storage_state_save for full session).
Output is a plain JSON array compatible with cookie_import / EditThisCookie /
Playwright cookies format. Saved to ~/.mcp-stealth/storage-states/.
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": "cookie_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | ||
| url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |