| name | send-message |
| description | Send messages via Sinch Conversation API over WhatsApp, SMS, RCS, Messenger, Viber, Instagram, Telegram, and other channels. Use when the user wants to send a message, text someone, send a WhatsApp message, send an SMS, or communicate via any messaging channel. Automatically handles contact creation and conversation management. |
Send Message
Send messages through Sinch Conversation API. Prefer MCP tools if available, otherwise use the Conversation API specification. Supports all channels including WhatsApp, SMS, RCS, Messenger, Viber, Instagram, Telegram, LINE, WeChat, KakaoTalk, and Apple Messages for Business.
Instructions
-
Extract message details from user request:
- Recipient: phone number, contact name, or contact ID
- Message content: text to send
- Channel preference: WhatsApp, SMS, or other (if specified)
- Message type: text, media, location, choice, or template
- If channel not specified, use WhatsApp as default for phone numbers
-
Check MCP availability and use appropriate method:
Option A: Use MCP tools (if MCP Sinch is configured):
- First check if MCP Sinch server is available (check MCP server configuration)
- If MCP is available, use the appropriate MCP tool:
send-text-message for text messages
send-media-message for media messages (images, videos, etc.)
send-location-message for location messages
send-choice-message for interactive choice messages
send-template-message for template messages
- MCP tools handle authentication automatically via environment variables
- If MCP tool execution fails or MCP is not configured, fallback to Option B