Disconnect WhatsApp
disconnect_whatsappUnlink this computer from WhatsApp and stop the background service. Optionally delete stored messages, attachments, and logs while keeping send-folder files.
Instructions
Unlink this computer from WhatsApp (it disappears from Linked devices on the phone) and stop the background service; with delete_archive, also delete the stored messages, downloaded attachments and logs. Use it when the user wants to stop using WhatsApp here or before uninstalling the extension. Files in the send folder are never deleted.
Safety: with confirm=false (the default) NOTHING is changed; the tool returns the list of steps. Show it to the user and call again with confirm=true only after they approved. Never set confirm=true on the first call.
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": "disconnect_whatsapp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | false (default) only describes what would happen; true does it, after the user approved | |
| delete_archive | No | also delete the message archive, downloaded attachments and logs from this computer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | Yes | true once everything listed in steps was carried out | |
| steps | Yes | what is (or would be) done, in plain words | |
| account | No | ||
| message | Yes | ||
| needs_confirmation | Yes |