get_contact
Look up a WhatsApp contact by JID or phone number. Returns the saved contact when duplicates share the same phone.
Instructions
Look up a single WhatsApp contact by JID or phone number. Pass either parameter — both work. If multiple raw contacts share the same phone (label dupes), the saved variant wins.
Examples: By JID: { jid: "5491155550001@c.us" } By phone with +: { phone: "+5491155550001" } By phone bare: { phone: "5491155550001" }
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jid | No | Full WhatsApp JID (e.g. "5491155550001@c.us") | |
| phone | No | Phone number — leading "+" and "00" are stripped during matching |