This server advertises the tools below. A tool list is an inventory of what the server can do — it is not a finding, and it is not part of the score.
Start an outbound AI phone call.
With ``from_`` omitted, Hail uses the oldest active workspace number with
voice capability, or a shared pool number when none is available.
A dedicated number is not required. Shared pool numbers cannot be selected
explicitly; an exhausted pool returns an ``error`` result without starting a call.
The call uses instructions from ``system_prompt`` or a saved ``agent_id``,
or a model endpoint supplied in ``llm``. At l
Params
to
recipient_consent
system_prompt
llm
from_
first_message
language
ai_disclosure
recording_enabled
metadata
tools
idempotency_key
consent_source
consent_obtained_at
message_type
agent_id
llm_model
Send an email from a verified workspace sender.
Plain-text emails still have sending, delivery and bounce events.
Without ``from_``, one verified custom domain takes priority over the Hail mail address.
Several verified custom domains require an explicit ``from_`` address.
A custom domain blocked from sending (``sends_enabled`` false, PATCH ``/v1/email-domains/{id}``) is skipped for picks and refuses an explicit ``from_``.
When configured, a workspace wi
Params
to
subject
recipient_consent
body_text
body_html
from_
from_name
cc
bcc
reply_to
metadata
idempotency_key
consent_source
consent_obtained_at
message_type
attachment_ids
llm_model
Upload a small attachment for outbound email, as base64 text.
Meant for small files (under about 50 KB): every base64 character goes
through the tool call itself. Larger files go through ``create_file_upload``
with ``purpose="email_attachment"``: its ``curl`` line sends the bytes, and its
``id`` works in ``send_email``'s ``attachment_ids``.
Returns ``id``, ``filename``, ``content_type`` and ``size_bytes``.
The ID is accepted in an email's ``attach
Params
content_base64
filename
content_type
llm_model
Create a one-time link that uploads one file from a shell with curl.
The bytes go from the local disk to Hail directly, not through the tool call,
so any file that is not tiny goes this way.
An email attachment can be up to 25 MB. A verification document must be
JPG, PNG or PDF, up to 10 MB, and is usable for 1 hour after the upload.
SMS evidence must be a JPG, PNG or PDF of the given ``content_type``, up to 10 MB.
Its upload response has a public
Params
purpose
filename
content_type
llm_model
Read a call's current status, timing and transcript by ID.
Returns the call record with its transcript (spoken turns, in the
order they were said), or an error when the call is unavailable.
Params
call_id
llm_model
List recent workspace calls, newest first.
The list contains call summaries. ``get_call`` reads the full call and transcript.
Params
cursor
limit
status
to
llm_model
Send an outbound text message.
Without ``from_``, supported destinations use the workspace's alphanumeric sender ID.
Other destinations use an eligible workspace SMS-capable number.
A missing required number returns 422. SMS does not use the shared voice-call pool.
US long-code texting to US recipients requires ready A2P 10DLC registration and an attached number.
Trial texts (only to the workspace's own verified phone, set up in the console: Overview > Te
Params
to
body
recipient_consent
from_
metadata
idempotency_key
consent_source
consent_obtained_at
message_type
llm_model
Read a text message's current state by ID.
Returns the message record, including delivery status, or an error.
Params
sms_id
llm_model
List recent workspace text messages and their delivery states.
A message ID in the results identifies the same record in ``get_sms``.
Params
cursor
limit
status
to
llm_model
Read a complete workspace email by ID.
Returns ``body_text``, ``body_html`` and other email fields.
Inbound records include reply headers and spam, virus, SPF, DKIM and DMARC verdicts.
Attachments include IDs and file metadata.
An unknown or inaccessible email returns an error.
Params
email_id
llm_model
List workspace email summaries, newest first.
Summaries contain IDs and metadata. ``get_email`` reads the body of a
specific message.
Params
cursor
limit
status
direction
llm_model
Return a temporary download URL for an inbound email's original MIME source.
The URL expires after approximately five minutes and requires no authorization header.
Raw source is available only for inbound emails.
Returns ``url``, or an error for an unavailable email.
Params
email_id
llm_model
Return a temporary download URL for an inbound email attachment.
The URL expires after approximately five minutes and requires no authorization header.
Returns ``url``, or an error for an unavailable attachment.
Params
email_id
attachment_id
llm_model
Read one email's delivery and engagement timeline.
Events include sent, delivered, delivery_delayed, bounced, complained,
rejected, opened and clicked, with ``payload`` and ``occurred_at``.
Open and click tracking requires an HTML email body. Delivery events
are also available for plain-text email.
Params
email_id
cursor
limit
llm_model
Read workspace email delivery counts, rates and time series.
Without ``from_`` and ``to``, the range is the last seven days.
Hourly ranges are limited to eight days; all ranges to 92 days.
Returns ``from``, ``to``, ``bucket``, ``totals``, ``rates`` and ``series``.
Rates are null when the sent count is zero.
Open and click counts cover HTML emails only; plain-text emails lower these rates.
An upstream failure returns an error.
Params
from_
to
bucket
llm_model
Read a page of workspace events or events for one resource.
A call-specific response includes the current ``call_status``.
Terminal call states are completed, failed, busy, no_answer and canceled.
This is a snapshot for checking progress. ``call_status`` is null for
workspace-wide results and for non-call resource filters.
Params
id
kind
cursor
limit
llm_model
List the workspace's saved agents and their settings.
Agent records contain IDs, names, instructions, greetings, disclosure settings,
voice settings, enabled channels, status, duration limits and handover contacts.
Returns ``items`` or an error.
Params
llm_model
Save an agent for calls, texts, and email replies.
The saved instructions and enabled channels apply when a number or email address
routes to this agent. Saving the agent does not change existing routing.
The call agent can hand over to listed contacts without seeing their phone numbers.
Without a voice override, the built-in providers use the deployment's
configured voice. A workspace provider uses its configured voice or its
own default. An omi
Params
name
system_prompt
first_message
ai_disclosure
recording_enabled
ai_disclosure_line
language
voice_id
tools
max_duration_seconds
handover_max_duration_seconds
voice_enabled
sms_enabled
email_enabled
handover_contacts
http_tools
llm_model
Set the saved agents that answer a number's calls and texts.
Replaces the selected routing settings. Registering or unregistering inbound
voice can change carrier and LiveKit routing; text-only changes leave it unchanged.
Clearing the voice route stops AI call answers; clearing the text route stops
agent replies to texts. Restoring a route does not recover missed interactions.
Omitted settings retain their current values. A connected number
(``sou
Params
number_id
voice_agent_id
sms_agent_id
clear_voice
clear_sms
llm_model
Choose which agent answers mail to an address, and who it answers.
Replaces the selected email routing settings. Clearing the agent stops
automatic replies; restoring it does not replay mail received in between.
Setting ``email_agent_id`` together with ``clear_agent=True`` is an error.
With ``email_agent_scope="anyone"``, a stranger can make the agent use its
allowed tools. Mail without a passing DMARC result gets no reply.
A custom domain must be
Params
domain_id
email_agent_id
email_agent_scope
clear_agent
llm_model
Compare available phone numbers and their prices without buying or charging.
Returns ``offers``, ``recommended_quote_id`` and ``expires_at``.
Each offer includes ``e164``, ``number_type``, ``capabilities``, ``quote_id``,
``monthly_cents``, ``setup_cents``, ``readiness``, ``requirements``,
``subject_types``, ``verifications``, ``locality`` and ``region``.
Prices are USD cents. ``locality`` and ``region`` tell apart cities with the same name.
Quotes
Params
country_code
capabilities
number_type
area_code
city
region
llm_model
Buy a quoted phone number with explicit price confirmation.
This charges the setup fee and first month immediately, then renews monthly.
The purchase requires the user's authorization for that number and cost.
Expired or changed offers return 409 without authorizing a different price.
Each quote can buy at most one number.
A retry with the same quote and ``idempotency_key`` refers to the original purchase.
After a timeout, a new quote starts a di
Params
quote_id
country_code
number_type
confirm_total_cents
idempotency_key
subject_type
verification_id
llm_model
List dedicated workspace phone numbers, newest first.
The records show capabilities, provisioning state and assigned agents,
so they can be used to select an existing number for sending or routing.
``source`` is ``purchased`` (bought through Hail) or ``connected`` (a
number on the customer's own phone system, voice only). Hail's team
connects phone systems with the customer; no tool does it.
Params
limit
cursor
llm_model
List US state and Canadian province codes supported by number searches.
Returns ``regions`` containing ``country_code``, ``code`` and ``name``.
These codes identify the optional region filter for a city search.
An upstream failure returns an error.
Params
llm_model
Read a workspace number's state, capabilities and assigned agents.
``source`` ``connected`` marks a number on the customer's own phone
system; its state is ``unverified`` until its ownership check passes.
Returns the number record or an error.
Params
number_id
llm_model
Permanently release a phone number after explicit user authorization.
A mismatched ``confirm_e164`` returns an error without releasing anything.
Calls and texts to a released number stop. Recovery is not guaranteed.
Current and previous monthly fees remain due, without a refund.
Pending orders cannot be released and return 409.
A failed order was not purchased; this operation only dismisses it from the list.
A connected number (``source`` ``connec
Params
number_id
confirm_e164
llm_model
Read a carrier's current registration fields, documents and address requirements.
The response's ``subject_types`` lists the applicant types the carrier accepts.
US local SMS registration uses ``purpose="sms"``, country ``US`` and type ``local``.
Toll-free verification uses ``purpose="sms"``, the number's country ``US`` or ``CA``,
type ``toll_free`` and its owned ``number_id``. Each number needs its own verification.
Applicant country and business tax sta
Params
country_code
number_type
subject_type
quote_id
number_id
purpose
llm_model
Check a carrier registration form without filing anything.
This preflight uses the intended registration and its supporting documents
to check the carrier's current requirements, available credit and duplicate
registrations. Uploads must belong to this workspace and be less than an hour old.
Nothing is filed, saved, held or charged, and uploads stay usable.
Returns ``ok``, ``files`` (slot, upload_id, size_bytes, sha256 per file) and
``note``; prob
Params
country_code
number_type
fields
documents
files
subject_type
address
quote_id
number_id
purpose
llm_model
Read the files of a number verification form, before the form is filled or submitted.
This applies to a number offer, using the same quote and applicant type
as the requirements. Known ``fields`` and ``address`` values can be partial.
An AI model reads each file.
Returns ``fields``, ``address`` and ``documents.<slot>.fields``: the values the
files show, by the form's own keys, to fill the form after the user confirms
them. ``documents.<slot>.optio
Params
country_code
number_type
fields
documents
files
quote_id
subject_type
address
llm_model
Submit authorized applicant details and documents for carrier registration.
Submission is irreversible once sent for review. Carriers retain submitted documents.
Applicant answers, address and documents follow the carrier's current
requirements for the chosen applicant type and registration purpose.
Number registration needs the offer's quote ID. Toll-free texting needs the
owned number's ID. The named applicant must authorize the filing.
The user
Params
country_code
number_type
fields
documents
files
attest_authorized
subject_type
address
quote_id
number_id
purpose
llm_model
File a rejected number registration again, with fixes, from what Hail kept.
Hail keeps a number registration's answers and files for 30 days after
submit (``kept_until``); ``get_sms_application`` returns the kept answers
and file names. A supplied answer map, address or document selection
replaces that saved part. Other parts are reused. Country, number type
and subject type stay as filed.
Irreversible once sent: it files a new registration (a ne
Params
verification_id
attest_authorized
fields
documents
files
address
quote_id
llm_model
List workspace carrier registrations, newest first.
Items include IDs, applicant names and types, country, number type, purpose,
state, rejection details, timestamps, confirmation method and SMS progress fields.
States are awaiting_review, submitting, submitted, approved, rejected or cancelled.
SMS steps include confirm_identity, filing, carrier_review, needs_information and runtime_setup.
``campaign_accepted`` alone does not authorize texting: runtime re
Params
purpose
llm_model
Read one carrier registration's current state and reported next step.
The carrier state refreshes at most once per minute. Review can take business days.
``step="needs_information"`` means the existing SMS application needs corrections;
its saved applicant details and paid identity remain attached to the same registration.
An approved registration can make matching number offers ready for purchase.
Rejections include ``rejection_reason``.
``waitin
Params
verification_id
llm_model
Read saved answers for an existing workspace registration.
Returns private applicant fields, address and available sender information.
An older application without saved answers returns 404.
A number registration (``purpose="number"``) returns its kept answers,
``documents`` and the kept ``files`` by name (without their bytes) until
``kept_until``; ``resubmit_verification`` files it again from them.
This read can recover an existing sender's detai
Params
verification_id
llm_model
Preview local or toll-free SMS registration text without filing or charging.
The response contains the description, consent flow and samples for user review before submission.
Answers require actual applicant information and consent evidence.
Evidence links can come from ``create_file_upload`` with purpose ``sms_evidence``.
Field or length errors appear in ``problems``.
Limits are 100 fields and 64 KiB of combined fields and address.
A successful
Params
subject_type
fields
address
number_id
llm_model
Correct an existing SMS registration at the needs_information step.
The address must be accurate; saved details can be reused when still correct.
Identity changes are rejected. This operation does not create a replacement brand.
Actual consent evidence is required; ``create_file_upload`` with purpose
``sms_evidence`` returns a public evidence link.
Limits are 100 fields and 64 KiB of combined fields and address. No documents are uploaded.
A later
Params
verification_id
fields
attest_authorized
address
llm_model
Cancel an eligible carrier registration after explicit user authorization.
Awaiting-review drafts are discarded; rejected registrations are dismissed.
A rejected registration must be dismissed before a new one is submitted
for the same country and number type.
An approved US SMS registration can be cancelled: attached numbers lose US texting eligibility
and its monthly fee ends after the current month.
Some registrations have a minimum of three mo
Params
verification_id
llm_model
Confirm a registration using the code the carrier sent to the applicant.
Incorrect or expired codes return a field error; the carrier can send a replacement after a day.
Success advances the registration but does not guarantee immediate approval.
A ``confirmation="reply"`` registration requires a direct reply to the carrier's text instead.
Returns the updated registration or an error.
Params
verification_id
code
llm_model
Read one saved workspace agent by ID.
Returns its name, instructions, greeting, disclosure, voice settings, enabled channels,
status, limits and other saved settings, or an error.
Params
agent_id
llm_model
Update selected fields on a saved workspace agent.
Replaces active settings, including instructions and the whole handover list.
Pausing the agent or disabling a channel stops new replies on that channel.
Omitted fields retain their values.
Updating language or voice alone preserves the other setting.
``clear_fields`` resets the named settings and cannot be combined with a new
value for the same field. Clearing the greeting lets the inbound caller
Params
agent_id
name
system_prompt
first_message
ai_disclosure
recording_enabled
ai_disclosure_line
language
voice_id
tools
max_duration_seconds
handover_max_duration_seconds
voice_enabled
sms_enabled
email_enabled
status
handover_contacts
http_tools
clear_fields
llm_model
Permanently delete a saved agent after explicit user authorization.
A mismatched ``confirm_name`` returns an error without deleting anything.
Numbers assigned to the deleted agent stop answering calls with it;
texts are delivered to webhooks only.
Pausing an agent is a separate non-deleting status change.
Returns ``deleted``, ``agent_id`` and ``name``, or an error.
Params
agent_id
confirm_name
llm_model
List workspace members and manually saved contacts.
A member entry carries a workspace role and a ``member:<user_id>`` ID.
A manually saved contact has its own contact ID and no workspace role.
Either kind can be selected for handover when it has a phone number.
Params
q
limit
llm_model
Find workspace contacts by name, email or phone fragment.
Returns up to ten matches containing names, phone numbers, email addresses and IDs.
Several matches can refer to different people.
Params
query
llm_model
List the workspace's sending identities and default sender address.
The listing helps select a sender for ``send_email``.
Only identities with ``verification_status="verified"`` can send.
For ``kind="custom"``, ``domain`` is a domain supporting any local part.
For ``kind="hail_mail"``, it is already a complete email address.
One verified custom domain takes priority over the Hail mail address.
With several verified custom domains, ``default_from``
Params
cursor
limit
llm_model
Identify the account and organization authorized by the current credentials.
Returns ``auth_kind``, ``organization_id``, ``user_id``, ``email`` and ``name``.
Shared operator credentials have ``auth_kind="shared"`` with null user details.
The response identifies the current actor, not a message recipient.
Params
llm_model
Save a manually managed contact for calls, texts or email.
The contact appears in workspace contact searches and can be selected
for call handover if it has a phone number, or an extension on a call
to a connected number. A duplicate phone or email returns 409.
Params
name
phone_e164
email
extension
llm_model