WhatsApp Disconnect
whatsapp_disconnectUnlink WhatsApp from Local MCP — logs out the linked device on this Mac (via wacli). Your chats stay on your phone; this only disconnects this Mac, and WhatsApp tools stop working until you run whatsapp_connect again. account picks which linked account; with one account it can be omitted, with several it must be given. An account added with add_account also leaves the list, and this Mac's cached copy of its chats is deleted.
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": "whatsapp_disconnect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Which linked WhatsApp account to disconnect: its label or id from whatsapp_list_accounts. Required when more than one account is linked. | |
| confirm | No | Ignored; kept for older clients. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||