whatsapp_send_link
Send WhatsApp messages containing links with previews to contacts or groups. Include text content, URL, and optional preview elements like title, description, and thumbnail for enhanced link sharing.
Instructions
Send a link message with optional preview to a WhatsApp contact or group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | No | Description for the link preview (max 1000 characters) | |
| isForwarded | No | Whether the message should be marked as forwarded | |
| jpegThumbnail | No | Base64 encoded JPEG thumbnail for the link preview | |
| mentions | No | List of phone numbers to mention in the message | |
| replyTo | No | ID of the message being replied to | |
| text | Yes | Message text content (max 4096 characters) | |
| title | No | Title for the link preview (max 500 characters) | |
| to | Yes | Recipient phone number (with @s.whatsapp.net) or group ID (with @g.us) | |
| url | Yes | URL to include in the message |
Input Schema (JSON Schema)
{
"properties": {
"description": {
"description": "Description for the link preview (max 1000 characters)",
"optional": true,
"type": "string"
},
"isForwarded": {
"description": "Whether the message should be marked as forwarded",
"optional": true,
"type": "boolean"
},
"jpegThumbnail": {
"description": "Base64 encoded JPEG thumbnail for the link preview",
"optional": true,
"type": "string"
},
"mentions": {
"description": "List of phone numbers to mention in the message",
"items": {
"type": "string"
},
"optional": true,
"type": "array"
},
"replyTo": {
"description": "ID of the message being replied to",
"optional": true,
"type": "string"
},
"text": {
"description": "Message text content (max 4096 characters)",
"type": "string"
},
"title": {
"description": "Title for the link preview (max 500 characters)",
"optional": true,
"type": "string"
},
"to": {
"description": "Recipient phone number (with @s.whatsapp.net) or group ID (with @g.us)",
"type": "string"
},
"url": {
"description": "URL to include in the message",
"type": "string"
}
},
"required": [
"to",
"text",
"url"
],
"type": "object"
}