Send WhatsApp text message
send_text_messageSend a plain text WhatsApp message to a phone number during the 24-hour customer-service window. Use a template message to begin a new conversation.
Instructions
Send a plain text WhatsApp message to a phone number. Only works inside the 24-hour customer-service window (i.e. the user messaged you in the last 24h). To start a brand-new conversation, use send_template_message instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"to": "<to>",
"body": "<body>"
},
"name": "send_text_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient phone number, ideally E.164 (e.g. +971501234567) | |
| body | Yes | Message text (max 4096 chars) | |
| preview_url | No | Render a link preview for the first URL in the body | |
| reply_to_message_id | No | Optional wamid of a message to reply to (shown as a quoted reply) |