Send an SMS
send_smsSend an SMS to a Czech or Slovak phone number, or to a number in one of the other countries listed on the pricing page (at that country's price per segment). Body up to 765 characters. By default it goes out under the shared sender name SMSinfo: sign your name in the message text, and recipients cannot reply to SMSinfo. With sender "volai" an SMS to a Czech (+420) number goes out under the name volai instead, at the same price per segment and with a delivery report in deliveryStatus; until the name is switched on for Czech numbers (it awaits approval by the operators) send_sms with sender returns sender_unavailable (HTTP 403): nothing is charged and retrying will not help, so send without sender. sender cannot be combined with fromNumber and does not reach Slovak numbers (invalid_sender, HTTP 400); to the other countries from the pricing page sender changes nothing: the message takes the same route as without it. With fromNumber (an active mobile number of this account, from list_sms_numbers) it goes out from your own number instead: only to Czech (+420) numbers, 1.90 CZK per segment, and replies sent to that number can be read with list_messages direction "in". fromNumber can also be an active calls and SMS number (from list_voice_sms_numbers): then it costs 1.79 CZK per segment, goes only to Czech (+420) numbers and carries no delivery report, and the daily cap below is shared by all numbers of the account. From a mobile number the daily cap is 20 messages per account during the first 30 days after the number was bought and 50 afterwards; once it is reached send_sms returns rate_limited, nothing is charged and retrying will not help until the 24-hour window ends (list_sms_numbers shows dailySendRemaining and dailySendResetsAt). An SMS sent from your mobile number, and an SMS to a country other than Czechia and Slovakia, carries a delivery report in deliveryStatus (delivered or undelivered) once the carrier reports; SMS from the shared sender to Czech and Slovak numbers have none (an SMS to a Czech number sent with sender "volai" has one). The account needs at least one credit top-up first: the welcome credit does not cover SMS, not even with a number of your own, and the call returns insufficient_credit. With a monthly spending cap set by the customer (see get_spend_cap) and reached this month, this fails with spend_cap_reached (HTTP 402): nothing is charged and retrying will not help, so tell the customer, who can raise or remove the cap (set_spend_cap, clear_spend_cap) or wait for the next month. Same data as POST /v1/messages (API reference: https://volai.cz/en/docs/api; response schema: https://volai.cz/openapi.json).
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>",
"body": "<body>"
},
"name": "send_sms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination phone number in E.164 format, for example +420777123456. Without a country code it is read as a number of the account's country. Czech, Slovak and other listed countries are accepted; with fromNumber only Czech (+420) ones. | |
| body | Yes | Message text, up to 765 characters. Under the shared sender SMSinfo, sign your name in the text. | |
| sender | No | Optional sender name, the only value is "volai": sends to a Czech (+420) number under the name volai instead of SMSinfo, same price, with a delivery report. Not with fromNumber, not to Slovak numbers. Returns sender_unavailable until the name is switched on. | |
| fromNumber | No | Optional mobile number or calls and SMS number of this account to send from, in E.164 format, as returned by list_sms_numbers or list_voice_sms_numbers. Omit it to use the shared sender SMSinfo. Works only with Czech (+420) recipients. |