contact_block
Block a WhatsApp contact to stop receiving their messages. Provide the contact ID and the session ID to complete the block.
Instructions
[Contact] Block 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": {
"sessionId": "<sessionId>"
},
"name": "contact_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contactId | No | Unique WhatsApp ID for the contact | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |