Send Transactional SMS
send_transactional_smsSends one SMS to one phone number from the signed-in Mailpro account. Uses the account's SMS credits: the price depends on the country and on the length of the text (a long text counts as several SMS). 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": {
"phone": "<phone>",
"message": "<message>"
},
"name": "send_transactional_sms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | Phone number with country code, digits only (e.g. 41791234567). | |
| 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. |