Skip to main content
Glama

WSAPI WhatsApp MCP Server

by wsapi-chat

whatsapp_send_image

Send image messages to WhatsApp contacts or groups using URL links or base64 encoded data. Supports captions, mentions, replies, and view-once media for flexible image sharing.

Instructions

Send an image message to a WhatsApp contact or group. Can send from URL or base64.

Input Schema

NameRequiredDescriptionDefault
captionNoCaption for the image (max 1024 characters)
imageBase64NoBase64 encoded image data (alternative to imageURL)
imageURLNoURL of the image to send (alternative to imageBase64)
isForwardedNoWhether the message should be marked as forwarded
mentionsNoList of phone numbers to mention in the caption
mimeTypeYesMIME type of the image
replyToNoID of the message being replied to
toYesRecipient phone number (with @s.whatsapp.net) or group ID (with @g.us)
viewOnceNoWhether the image should be sent as view-once

Input Schema (JSON Schema)

{ "properties": { "caption": { "description": "Caption for the image (max 1024 characters)", "optional": true, "type": "string" }, "imageBase64": { "description": "Base64 encoded image data (alternative to imageURL)", "optional": true, "type": "string" }, "imageURL": { "description": "URL of the image to send (alternative to imageBase64)", "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 image", "enum": [ "image/jpeg", "image/png", "image/webp", "image/gif" ], "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" }, "viewOnce": { "description": "Whether the image should be sent as view-once", "optional": true, "type": "boolean" } }, "required": [ "to", "mimeType" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wsapi-chat/wsapi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server