logout
End your current WhatsApp session and clear session data. Optionally provide an idempotency key to avoid duplicate logouts.
Instructions
Logout from WhatsApp and clear the current session
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": "logout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idempotency_key | No | Optional idempotency key. Repeating the same logout request with the same key returns the original result instead of logging out again. |