whatsapp_send_contact
Send contact information via vCard to WhatsApp contacts or groups, enabling quick sharing of contact details within conversations.
Instructions
Send a contact (vCard) message to a WhatsApp contact or group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| displayName | No | Display name for the contact (alternative to vCard) | |
| isForwarded | No | Whether the message should be marked as forwarded | |
| mentions | No | List of phone numbers to mention | |
| replyTo | No | ID of the message being replied to | |
| to | Yes | Recipient phone number (with @s.whatsapp.net) or group ID (with @g.us) | |
| vCard | No | Raw vCard string (alternative to displayName) |
Input Schema (JSON Schema)
{
"properties": {
"displayName": {
"description": "Display name for the contact (alternative to vCard)",
"optional": true,
"type": "string"
},
"isForwarded": {
"description": "Whether the message should be marked as forwarded",
"optional": true,
"type": "boolean"
},
"mentions": {
"description": "List of phone numbers to mention",
"items": {
"type": "string"
},
"optional": true,
"type": "array"
},
"replyTo": {
"description": "ID of the message being replied to",
"optional": true,
"type": "string"
},
"to": {
"description": "Recipient phone number (with @s.whatsapp.net) or group ID (with @g.us)",
"type": "string"
},
"vCard": {
"description": "Raw vCard string (alternative to displayName)",
"optional": true,
"type": "string"
}
},
"required": [
"to"
],
"type": "object"
}