send_whatsapp
Send targeted WhatsApp messages to specific users via CleverTap, specifying recipients by identity or object ID and providing message content with optional template and media.
Instructions
Send a WhatsApp message directly to specific users via CleverTap.
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>",
"content": "<content>"
},
"name": "send_whatsapp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipients: {"identity": ["phone_or_id"]} or {"objectId": [...]} | |
| tag | No | Optional campaign tag | |
| content | Yes | WhatsApp content: {"body": "...", "template_name": "...", "template_type": "text|media", "media": {"url": "..."}} |