send_contact_card
Send a WhatsApp contact card that recipients can tap and save to their address book. Optionally provide a custom vCard or let the tool generate one from a name and phone number.
Instructions
Send a WhatsApp contact card; recipients see a tappable contact entry they can save to their address book and the outgoing message is persisted to the local cache. When vcard is omitted a minimal vCard 3.0 is synthesised from name + phone. Reversible via delete_message (revoke). Returns a JSON object {Success, Message, ID} where ID is the WhatsApp message ID on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | contact display name; also used as the FN in the synthesised vCard | |
| phone | No | phone number (digits preferred); embedded in the synthesised vCard when `vcard` is not supplied | |
| recipient | Yes | Send target: digits only (E.164 without `+`, no spaces or punctuation); or `<digits>@s.whatsapp.net`; or group `<digits>-<timestamp>@g.us` | |
| vcard | No | raw vCard 3.0 string; when set, name+phone synthesis is skipped and this string is sent as-is |