get_direct_chat_by_contact
Retrieve WhatsApp direct chat metadata using a sender's phone number to identify the conversation linked to that contact.
Instructions
Get WhatsApp chat metadata by sender phone number.
Args: sender_phone_number: The phone number to search for
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": {
"sender_phone_number": "<sender_phone_number>"
},
"name": "get_direct_chat_by_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender_phone_number | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |