create_campaign
Launch multi-channel CleverTap campaigns with audience targeting, delivery scheduling, and reach estimation before sending.
Instructions
Create a CleverTap campaign. Supports push, email, SMS, WhatsApp, webpush, webhook, and notification inbox. Set estimate_only=true to preview reach without sending.
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": {
"name": "<name>",
"target_mode": "<target_mode>",
"when": "<when>",
"content": "<content>"
},
"name": "create_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Campaign name shown in dashboard | |
| when | Yes | Delivery time: "now" or a datetime string (e.g. "2025-06-01 10:00:00") | |
| where | No | Audience targeting filters (event/property conditions). Omit to target all users. | |
| content | Yes | Message content. For push: {"title":"Hi","body":"Text"}. For email: {"subject":"...", "html":"..."} | |
| target_mode | Yes | Channel to use | |
| estimate_only | No | If true, returns reach estimate without creating a campaign | |
| respect_frequency_caps | No | Whether to respect DND / frequency caps |