get_direct_chat_by_contact_number
Retrieve a direct WhatsApp chat JID using a contact's phone number. Use this to start a chat when only the number is known, though reliability may vary.
Instructions
Get direct WhatsApp chat JID by contact phone number (less reliable, use get_chat_by_id if JID is known).
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": {
"phone_number": "<phone_number>"
},
"name": "get_direct_chat_by_contact_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone_number | Yes | The phone number of the contact (e.g., 1234567890) |