send_message
Send a text message to a WhatsApp contact or group. Always confirm recipient and content with the user first.
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": {
"toNumber": "<toNumber>",
"message": "<message>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The text message to send | |
| toNumber | Yes | Recipient's WhatsApp ID (e.g., '972501234567@c.us' for individuals or 'group-id@g.us' for groups) | |
| linkPreview | No | Whether to show link previews for URLs in the message (default: false) | |
| quotedMessageId | No | ID of a message to quote/reply to |