manage_whatsapp_contact_actions
Manage WhatsApp contact blocking and unblocking operations. Handle contact blocking status with action-based operations to control message reception from specific contacts. Contacts are identified by phone number in E.164 format, not by WhatsApp ID.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"device": "<device>",
"contacts": "<contacts>"
},
"name": "manage_whatsapp_contact_actions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform on WhatsApp contact blocking/unblocking | |
| device | Yes | WhatsApp device ID connected to Wassenger (24 character hexadecimal string) | |
| contacts | Yes | Array of contact phone numbers in E.164 format to block or unblock (max 50) |