Send a WhatsApp message
send_messageSend a text message to a phone number over WhatsApp. Counts as one message against the account's monthly quota.
With pacing on, messages you start are queued, including messages to known contacts. Only a reply to someone who messaged this number in the last 24 hours goes out now. The queued answer carries status: "queued" and scheduledAt, an estimated send time. Messages leave one at a time, 15–25 minutes apart by default, measured from the previous message's actual release. An offline or restricted number pauses the queue; messages that have not left wait and resume with the same spacing. message.sent arrives on the account's webhook when a queued message leaves, with WhatsApp's message id.
Group messages skip the queue. Use skipQueue: true only for a message the recipient expects now, or disable pacing with update_number and space sends yourself. A first message to someone new also uses the number's daily new-conversation budget, reported as newConversationsRemaining. Replies and groups do not use that budget. Delivery and read receipts arrive later on the account's webhook, not in this answer.
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>",
"text": "<text>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient: a phone number in international format (+5511988887777) or a WhatsApp address (5511988887777@s.whatsapp.net, an @lid contact, or a @g.us group). | |
| from | No | Which of your WhatsApp numbers sends this: its id or its phone number. Optional: with a single connected number it is resolved for you. | |
| text | Yes | The message body. | |
| humanize | No | Whether to come online, read the recipient's last message and show a typing indicator before sending. On by default, which adds a few seconds. false skips those steps, not the send queue. Configure each part per number with update_number. | |
| skipQueue | No | Send immediately instead of waiting in this number's queue. Only for a message the recipient expects right now, such as a login code or a confirmation they requested. This bypasses the configured spacing, so using it for outreach can create bursts and increase the risk of a ban. Default: off. | |
| linkPreview | No | Render a preview card for the first link in the text. Default: on. | |
| idempotencyKey | No | Your own unique id for this call, such as a UUID. If the call fails with no answer, call again with the same key: it runs once, and the retry gets the first answer back. Answers are kept for 24 hours. |