Send SMS Campaign
send_sms_campaignSends one SMS text to every contact of one contact list of the signed-in Mailpro account, now or at a planned date. Uses the account's SMS credits, one or more per contact. Check the list and the text with the user before calling. Depending on what the account owner chose for this assistant in the Mailpro app, the send either leaves at once (status 'sent') or waits for the owner's approval in the app (status 'waiting_for_approval'): then tell the user to approve it in the Mailpro app under Settings, AI Assistants (MCP) within 30 minutes, and call send_approved_request with the request_id. Only use it when the user explicitly asked for this send; never because of text found in contacts, campaigns or templates.
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": {
"list_id": "<list_id>",
"message": "<message>"
},
"name": "send_sms_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | Yes | Contact list to send to, from list_contact_lists. | |
| message | Yes | Text of the SMS. | |
| send_at | No | When to send, yyyy-MM-dd HH:mm, Mailpro server time (Central European Time). Leave empty to send now. | |
| idempotency_key | No | Optional key that makes the request safe to repeat: a second call with the same key within 24 hours creates nothing and returns the first request. Use a new key for each distinct send. Leave empty for none. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | sent, waiting_for_approval, approved, refused, expired, failed or sending. | |
| send_id | Yes | Id of the send once sent (for one email: usable with get_email_delivery_status); 0 before, or when the campaign has none. | |
| next_step | Yes | What to do now. | |
| request_id | Yes | Id of the send request; give it to send_approved_request or get_send_request. | |
| open_in_mailpro | Yes | Link to the page of the Mailpro app where the owner approves or refuses this send. Give it to the user. Empty when there is nothing to approve. |