whatsapp_send_video
Send video messages to WhatsApp contacts or groups using URLs or base64 data. Specify video format and add captions, mentions, or view-once options for effective communication.
Instructions
Send a video message to a WhatsApp contact or group. Can send from URL or base64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | Caption for the video (max 1024 characters) | |
| isForwarded | No | Whether the message should be marked as forwarded | |
| mentions | No | List of phone numbers to mention in the caption | |
| mimeType | Yes | MIME type of the video | |
| replyTo | No | ID of the message being replied to | |
| to | Yes | Recipient phone number (with @s.whatsapp.net) or group ID (with @g.us) | |
| videoBase64 | No | Base64 encoded video data (alternative to videoURL) | |
| videoURL | No | URL of the video to send (alternative to videoBase64) | |
| viewOnce | No | Whether the video should be sent as view-once |
Input Schema (JSON Schema)
{
"properties": {
"caption": {
"description": "Caption for the video (max 1024 characters)",
"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 in the caption",
"items": {
"type": "string"
},
"optional": true,
"type": "array"
},
"mimeType": {
"description": "MIME type of the video",
"enum": [
"video/mp4",
"video/3gp",
"video/mov",
"video/avi"
],
"type": "string"
},
"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"
},
"videoBase64": {
"description": "Base64 encoded video data (alternative to videoURL)",
"optional": true,
"type": "string"
},
"videoURL": {
"description": "URL of the video to send (alternative to videoBase64)",
"optional": true,
"type": "string"
},
"viewOnce": {
"description": "Whether the video should be sent as view-once",
"optional": true,
"type": "boolean"
}
},
"required": [
"to",
"mimeType"
],
"type": "object"
}