wa_export_session_zip
Export a WhatsApp session folder into one ZIP file for backup or moving the session to another host; protect the archive because it contains full account login credentials.
Instructions
Export a WhatsApp session folder as a single ZIP file, for backup or moving the session to another host. WARNING: the ZIP contains FULL login credentials for that WhatsApp account - anyone with the file can use the account. Keep it private and never share it publicly.
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": "wa_export_session_zip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No | Where to write the ZIP (default: wa-session.zip next to the server folder) | |
| session_dir | No | Session folder to export (default: WA_SESSION_DIR or the server session folder) |