Block/Unblock Contact
block_contactBlock or unblock a WhatsApp contact to stop or allow incoming messages. Specify the phone number and choose 'block' or 'unblock' to manage contact access.
Instructions
Block or unblock a WhatsApp contact. Blocking prevents the contact from sending you messages.
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": {
"number": "<number>",
"status": "<status>"
},
"name": "block_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Phone number with country code, no + (e.g. 5538999999999) | |
| status | Yes | Action to perform: 'block' or 'unblock' |