waha_block_contact
Block or unblock WhatsApp contacts to manage communication access and prevent unwanted messages through the WAHA MCP Server.
Instructions
Block or unblock a contact
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": {
"contactId": "<contactId>"
},
"name": "waha_block_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contactId | Yes | Contact ID (e.g. "1234567890@c.us") | |
| block | No | true to block, false to unblock | |
| session | No | Session name | default |