Create SMS Campaign
create_sms_campaign[write] Creates a DRAFT SMS campaign (the result has its id and uuid); nothing is sent until it is started in the panel, which needs the merchant's confirmation that the recipients agreed to receive it.
sms_account_id or sms_account_uuid is the sending account. Give either sms_campaign_body ({name} or any {variable} is replaced by each recipient's value) or a template (sms_template_id / sms_template_uuid; its text is copied).
sms_campaign_footer is added on a new line after every message; sms_campaign_schedule_datetime (ISO 8601) is when it goes out once started. A saved list (sms_list_id or sms_list_uuid; see list_sms_lists)
adds all its numbers as recipients; numbers on the opt-out list are kept as skipped.
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": {
"sms_campaign_title": "<sms_campaign_title>"
},
"name": "create_sms_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sms_list_id | No | ||
| sms_list_uuid | No | ||
| sms_account_id | No | ||
| sms_template_id | No | ||
| sms_account_uuid | No | ||
| sms_campaign_body | No | ||
| sms_template_uuid | No | ||
| sms_campaign_title | Yes | ||
| sms_campaign_footer | No | ||
| sms_campaign_schedule_datetime | No |