send_message
Sends a WhatsApp message to a contact or group using a phone number with country code or a JID, and returns success status with a status message.
Instructions
Send a WhatsApp message to a person or group. For group chats use the JID.
Args: recipient: The recipient — either a phone number with country code but no + or other symbols, or a JID (e.g., "123456789@s.whatsapp.net" or a group JID like "123456789@g.us") message: The message text to send
Returns: A dictionary containing success status and a status message
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": {
"recipient": "<recipient>",
"message": "<message>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| recipient | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||