Send a voice message (call, read text, hang up)
send_voice_messageCall a phone number, read a short text aloud with a synthetic voice (once, or up to 3 times) and hang up. Use it for alerts and notifications where nobody needs to answer back: an incident alert to an on-call engineer, a reminder, an order or delivery notice. It is NOT for conversations - when the callee should be able to talk, ask or answer, use make_call with an agent instead. There is no AI agent involved. By default the call goes out from a shared volai number and reaches Czech and Slovak numbers only: the callee sees that shared number as the caller, and a call back to it reaches the volai demo line. To call from your own number, pass from: an active calls and SMS number or number in another country of your account (see list_voice_sms_numbers); then the callee sees that number, a call back follows its routing, and you can always call Czech numbers and, once calling that number's own country is switched on for it (capabilities.outboundTo of the number lists it), numbers in that country (a Prague number calls +420 only). A plain voice number is rejected with unsupported_for_number_type because it cannot show its own number; a number that is not yours or not active gives from_number_not_owned; a destination the number may not call gives destination_not_allowed; a number allows one outbound call at a time, so capacity_busy means wait and retry later. Set language to the language the text is written in (one of: cs, sk, en, de, pl, nl, pt, sl, ro, da, et, lv, bg, fi, el, fr, it, hu, lt, sv, hr, es, is); without it the text is read in Czech when from is omitted and in the language of the destination country when from is given, so always set it when the text is not in that language, otherwise the wrong voice reads it; an unknown code gives invalid_language. The text is read word for word (no {{variables}} are filled in); text is 1 to 500 characters and repeat is 1 to 3 (default 1, with a short pause between readings). Price: only the outbound call minute, billed per second excluding VAT, with the text-to-speech included and no agent surcharge. From the shared number it is 0.92 CZK per minute; with from, a call to the number's own country is billed at that country's rate (see the pricing page), a call to Czechia at the base rate (from a number outside the EEA to Czechia a separate higher rate applies), and a message is billed per second with no minimum length, at least at the base rate per minute, and your balance must cover it before the call; a call nobody answers costs nothing, and a message read into the callee's voicemail counts as an answered call and is billed. A message is billed per second with no minimum length, and a message minute never costs less than the base rate. The account needs a verified e-mail and at least one credit top-up (the welcome credit does not cover voice messages), and there is a cap of 200 voice messages per account per 24 hours on top of the normal call limits. Do not use it for unsolicited marketing: automated calls without the callee's consent are illegal. The tool returns right after the call is placed, with status ringing: it does not wait for the callee. Read the outcome with get_call (kind voice_message, status completed or no_answer, voiceMessage.repeatPlayed and voiceMessage.completed say how often it was heard and whether it was read to the end) or from the call.completed / call.no_answer webhook. Never repeat the request because the answer says ringing: it would call again and be billed again. When voice messages are not enabled this fails with voice_messages_disabled (HTTP 503) and when the voice engine cannot take them with voice_message_unavailable (HTTP 503); nothing is charged in either case. With a monthly spending cap set by the customer (see get_spend_cap) and reached this month, it 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/voice-messages (response schema in /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>",
"text": "<text>"
},
"name": "send_voice_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Phone number to call, in E.164 format, for example +420777123456. Without from only Czech and Slovak numbers work; with from, Czech numbers and, once enabled (capabilities.outboundTo), the number's own country (Prague: +420 only). Do-not-call numbers are rejected. | |
| from | No | Optional. Your active calls and SMS number or number in another country to call from (see list_voice_sms_numbers), in E.164 or national format. The callee sees it. Omit for the shared number. With from, a connected call is billed per second, with no minimum length. | |
| text | Yes | The text to read aloud, word for word, 1 to 500 characters, in the language given by language (Czech when neither from nor language is set). Write it as it should sound; digits are read as spoken numbers. Template variables like {{name}} are not filled in. | |
| repeat | No | How many times to read the text, a whole number from 1 to 3. Defaults to 1. Use 2 or 3 for an alert the callee must not miss. | |
| language | No | Optional. Language of the text, one of: cs, sk, en, de, pl, nl, pt, sl, ro, da, et, lv, bg, fi, el, fr, it, hu, lt, sv, hr, es, is. Omitted: Czech without from, the destination country's language with from. An unknown code gives invalid_language. |