Schedule an outbound voice call for later
schedule_callSchedules an AI voice call to be placed automatically at a future local time (1 minute to 30 days ahead); nothing is dialled now. For requests that say anything about WHEN THE CALL ITSELF SHOULD HAPPEN — "later", "tomorrow", "at [time]", "phone them in [duration]" — and for retrying a call that just ended without reaching anyone (no answer / voicemail), where an instant redial rarely helps. A request can hold TWO times: in "call at [time] to book [thing] for [another time]", the first [time] is the dial time (local_datetime/tz) and [another time] is the booking's target time, which belongs in preference, not local_datetime. Inputs: the SAME call fields as place_call, plus exactly one of local_datetime (local wall-clock time, YYYY-MM-DDTHH:MM, with NO offset and NO trailing Z) or in_minutes (a relative delay, in minutes), plus its IANA zone in tz — the tz field says whose clock that is, and when a cross-border call needs the user to confirm it. The server converts the time to UTC itself. The request gets the same readiness check as place_call: "more_info_needed" schedules nothing, and the same input re-sent with the answers in details and readiness_checked: true goes ahead. On success it returns schedule_id, scheduled_at (UTC) and local_display (the resolved local time). Call language (language): the language the user wrote the request in, unless the request asks for another language for the call ("call in French", "speak French to them"), which then wins. Repeats: each request schedules another call, including one identical to an earlier request, up to 20 pending schedules per user. Results carry user_status (a sentence written for the end user, with no tool names or ids) and usually agent_next (the next step in the call flow, for the assistant; it names tools and ids and is not written for the end user).
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": {
"number": "<number>",
"business_name": "<business_name>",
"goal": "<goal>",
"tz": "<tz>"
},
"name": "schedule_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | Yes | The timezone, as an IANA zone name (Area/City). With `local_datetime` it is the zone that time is in; with `in_minutes` it only formats the resulting time for display (it does not change the delay). Whose clock it is, in order: (1) a timezone the user stated (their own, or the destination's) is used exactly as stated; (2) otherwise, when the number being called is in the SAME country as the caller (same country calling code), it is the caller's own local timezone — a normal domestic call, nothing to confirm; (3) otherwise (the call crosses countries and no timezone was stated) the time is ambiguous and needs confirming with the user before scheduling: for an international call it normally means the RECIPIENT's local time, not the caller's (a user in one country scheduling a call to a business in another for "[time]" means [time] in the business's zone), so the destination's zone goes here once the user confirms which local time they mean. UTC is never a default, and UTC offsets are not accepted. | |
| goal | Yes | What the call should achieve, as a short task, e.g. "book [what] for [how many] on [day]". A target time or date for the THING BEING BOOKED (the appointment/table/reservation itself) goes in `preference` (ideal) and `acceptable_range` (fallback) rather than in this string. When to PLACE THE CALL is not part of the goal: place_call dials now, and a stated dial time ("call at [time] to book [thing] for [another time]") is schedule_call's input. For a call about the user's OWN account, order or policy, the goal carries what the business will need to verify them and help: the exact product/account type (its specific name, not just "account"), any account or customer number the user gave, and, when chasing something that failed, what they actually did (payment method, which card or bank account, when, the error shown). The call agent shares identifiers and completes security checks unless the goal says otherwise; an unverified caller only gets generic answers. | |
| number | Yes | ||
| details | No | Answers to the clarification questions from a previous "more_info_needed" response, keyed by the `field` name given in that response, e.g. {"<field>": "<the user's answer>"}. Sent only on a re-send after a more_info_needed result, together with readiness_checked: true. | |
| language | No | ISO 639-1 language code for the call: "en" (English), "fr" (French), "de" (German), "es" (Spanish), "it" (Italian), "nl" (Dutch) or "he" (Hebrew). Other languages are refused. Non-English calls require ELEVENLABS_MULTILINGUAL_VOICE_ID to be set. | en |
| in_minutes | No | The alternative to `local_datetime` for a RELATIVE delay ("call again in [duration]"): the number of minutes from now, as the user said it, converted to minutes. The server adds it to the actual current time, so no clock time needs estimating. Exactly one of `local_datetime` or `in_minutes` is required. | |
| preference | No | The ideal outcome if available, e.g. a specific time and day, a particular table, room or seat, or a named practitioner. | |
| caller_name | No | Override the caller name for this call. Defaults to the user profile name. | |
| caller_email | No | Override the email address for this call. Defaults to the user profile email. | |
| caller_phone | No | Override the callback phone number for this call (E.164: +<country code><number>). Defaults to the user profile phone. | |
| vault_fields | No | The names of the user's SAVED secure details (their Ozri vault, e.g. "dob", "account_number") this call may use. Only the fields named here are available to the call agent: a field left out cannot be said or keyed on this call, whatever the other party asks. Omitted or [] means none (most calls). An unknown name is refused and the error lists the fields the user holds. Separate from `secure_details`, which carries NEW values for this one call. | |
| business_name | Yes | ||
| business_type | No | other | |
| first_message | No | Opening line spoken by the agent the moment the call connects, BEFORE the callee says anything. It always follows a fixed sentence saying the agent is an AI assistant calling on the user's behalf, which is said first and cannot be replaced, so do not introduce the agent or say it is an AI here. Leave unset for normal calls — the agent waits for the person answering to speak first. For non-English calls, provide this in the call language. | |
| caller_address | No | Override the address for this call. Defaults to the user profile address. | |
| contact_number | No | Deprecated — use caller_phone instead. | |
| local_datetime | No | The local wall-clock date & time to place the call, as an ISO-like string WITHOUT any timezone offset or trailing "Z", in the form YYYY-MM-DDTHH:MM: the time as the user stated it, not converted to UTC. `tz` names the zone it is in (see `tz` for whose clock that is) and the server converts it. For a specific clock time ("at [time]", "tomorrow morning"). Exactly one of `local_datetime` or `in_minutes` is required. | |
| secure_details | No | Identifiers and security details the business will ask for to verify the user, keyed by what they are — e.g. {"telephone_banking_pin": "<PIN>", "account_number": "<account number>", "date_of_birth": "<DD/MM/YYYY>", "<provider>_account_number": "<reference>"}. PINs, passcodes, security numbers, memorable details, account/customer/policy/membership numbers, NHS and National Insurance numbers belong here, not in `goal`: values here are sealed and the calling agent never sees them (they are keyed in or read out for it), while `goal` text is given to the agent and stored. Card numbers, CVVs and expiry dates are refused in every field. | |
| acceptable_range | No | What to accept if the preference is unavailable, e.g. a time window across one or more days, any option of a given kind, or anyone available within a period. | |
| readiness_checked | No | true only on a re-send after a "more_info_needed" result, alongside the user's answers in `details`. It tells the server the readiness questions were already asked, so it does not stop to ask again. Not set on a first attempt. | |
| no_answer_timeout_s | No | If the call is not answered within this many seconds it is aborted server-side and reported as no_answer. |