send_contact_card
Send contact cards via WhatsApp by providing recipient details and contact information. Automatically generates vCard from name and phone or accepts custom vCard data for sharing contacts.
Instructions
Send a contact card. When vcard is omitted, a minimal vCard 3.0 is synthesised from name + phone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | contact display name (also used for the synthesised vCard) | |
| phone | No | phone number (digits preferred); used to synthesise the vCard when `vcard` is not supplied | |
| recipient | Yes | Send target: phone digits, `<digits>@s.whatsapp.net`, or group `<digits>-<timestamp>@g.us` | |
| vcard | No | raw vCard 3.0 string; when set, name+phone synthesis is skipped |