wa_send_text_message
Send free-form WhatsApp text messages within the 24-hour customer service window for real-time replies. Use templates for messages outside this window.
Instructions
Send a free-form text message to a WhatsApp number.
NOTE: Free-form messages only work within the 24h customer service window (after the user messaged you). Outside that window, use a template.
Args:
to: Recipient phone number with country code, no + (e.g., "5511999998888").
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": {
"phone_number_id": "<phone_number_id>",
"to": "<to>",
"text": "<text>"
},
"name": "wa_send_text_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| text | Yes | ||
| confirm | No | ||
| preview_url | No | ||
| phone_number_id | Yes |