whatsapp_send_text
Send a plain WhatsApp text message within the 24-hour customer-service window; use a template when the window has closed.
Instructions
Send a plain WhatsApp text message. Only possible inside the 24h customer-service window (see whatsapp_send_template otherwise).
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": "whatsapp_send_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient phone number in E.164 (+55...) or wa_id | |
| body | Yes | Message body. Up to 4096 chars. | |
| preview_url | No | If true, auto-generates link preview from URLs in body. | |
| access_token | No | Optional override for the access token (falls back to WHATSAPP_ACCESS_TOKEN env) | |
| phone_number_id | No | WhatsApp Business Phone Number ID (falls back to WHATSAPP_PHONE_NUMBER_ID env) | |
| reply_to_message_id | No | wamid of the message being replied to (enables threading). |