Phone

Space MCP tools in the Phone scope (phone). Reach these with a wks_live_ key over space-mcp or space-api.

Tools in the phone scope, callable over space-mcp (tools/call) or space-api (REST) with a wks_live_* key that grants phone.

build_texting_signup_pages

Scope: phone:write

Build (or refresh) in this space the three public pages the carriers open: a SIGN-UP page with a real form (an unticked box with how often, rates, STOP/HELP; sign-ups become contacts here with their agreement recorded), a PRIVACY POLICY and SMS TERMS. On the space's own domain when one is ready, else Wakato's pages address. Every page names the business (legal name, address, phone, email), which carriers check. With make_website it also builds the business's one-page website for someone with none. Returns signup_url, privacy_url, terms_url (and home_url) for start_us_texting. Building again updates the same pages.

ParameterTypeRequiredDescription
brand_namestringyesThe name people know the business by (the DBA).
websitestring
planlow | high | me
messages_aboutstringPlain words for what people get, matching the kinds, e.g. 'booking reminders and replies to your questions'.
frequencystringe.g. 'Up to 4 messages a month' (default 'Message frequency varies')
support_emailstring
make_websitebooleanThe business has no website: also build its one-page website (name, what it does, address, phone, email, links to the three pages). Pass the home_url it returns as website.
legal_namestringLegal name as on the IRS letter; shown on every page beside the brand name.
business_descriptionstringOne or two plain sentences: what the business does and for whom (the website's text).
streetstring
citystring
statestring
postal_codestring
business_phonestringThe business's public phone, shown on the pages.
hoursstringe.g. 'Mon–Fri 9am–6pm'

check_texting_signup_page

Scope: phone:read

Open a sign-up page, wherever it lives (a Wakato page or the business's own website, e.g. https://theirsite.com/texts), and check it the way the carriers' reviewers do: a phone field, an UNTICKED box to agree, how often, 'Message and data rates may apply', STOP/HELP, links to the privacy policy and SMS terms. Answers ok + exactly what is missing and how to fix it. Use it before passing a page of theirs as signup_url (start_us_texting runs the same check and refuses a page that fails, nothing charged).

ParameterTypeRequiredDescription
urlstringyesThe page's public https address.

control_call_campaign

Scope: phone:run

Pause, resume, or cancel a running/scheduled call campaign.

ParameterTypeRequiredDescription
campaign_idstringyes
actionpause | resume | cancelyes

create_call_campaign

Scope: phone:write

Create a DRAFT outbound call campaign: an agent's Reach (its phone platform) dials each contact in an audience. Requires (before it can start) a voice-enabled reach_id, an audience_id, and an active from_phone_number_id — none are required to draft. call_script_id is optional. Use list_agent_reach / list_audiences / list_phone_numbers / list_call_scripts to discover ids.

ParameterTypeRequiredDescription
namestringyes
reach_idstringThe agent whose Reach places the calls (reach_id from list_agent_reach; voice must be enabled on it).
audience_idstringContact audience to dial.
from_phone_number_idstringActive space number to dial from.
call_script_idstringOptional call script to override opening line + goals per call.
max_concurrentnumberSimultaneous calls in flight (1–50, default 3).
retry_policyobject{ max_retries, retry_delay_minutes, retry_on: ['no_answer','busy','failed'] }
time_windowobjectOptional { start_hour, end_hour, days:[0-6] } — dials are parked outside these hours (UTC).

create_call_script

Scope: phone:write

Create a reusable call script an agent's Reach follows on a voice call. opening_line is what the agent says first; instructions set tone/guardrails; goals are ordered objectives; end_action is what happens when the call wraps up. Supports {{merge_tags}} like {{contact.first_name}} and {{space.name}}. A call script is OPTIONAL for a call — the agent's own persona drives the call; a script layers a specific opening + goals + end action on top.

ParameterTypeRequiredDescription
namestringyes
descriptionstringWhen/why this script is used (internal note).
opening_linestringWhat the agent says first when the call connects.
instructionsstringTone, persona, guardrails for the call.
goalsobject[]Ordered objectives the agent should work through.
end_actionhang_up | transfer | send_sms | book_meeting | noneWhat to do once the call wraps up.
end_action_configobjectAction-specific config: transfer { phone_number }, send_sms { template_id | body }, book_meeting { calendar_event_type }.
default_agent_idstringOptional agent (its Reach id, from list_agent_reach) this script defaults to.
variablesobject[]

create_sms_campaign

Scope: phone:write

Create a DRAFT SMS campaign (broadcast or drip). A connected SMS-capable number is NOT required to draft — only to send. Defaults the sender to the space's first eligible number when one exists.

ParameterTypeRequiredDescription
namestringyes
campaign_typebroadcast | drip
bodystringBroadcast message body. Supports {{merge_tags}}.
from_phone_number_idstringOptional — defaults to the first SMS-capable space number.
audience_idstring
enrollment_modeone_shot | continuous
trigger_audience_idstring
opt_out_footerboolean
stepsobject[]Drip steps in order.

create_sms_template

Scope: phone:write

Create a reusable SMS template. Supports {{merge_tags}} like {{first_name}}.

ParameterTypeRequiredDescription
namestringyes
bodystringyes
variablesobject[]

delete_call_script

Scope: phone:write

Delete a call script. Call campaigns referencing it keep running but lose the script override.

ParameterTypeRequiredDescription
script_idstringyes

fix_texting_company

Scope: phone:write

The owner's company (or Just me) the carriers didn't confirm: change what the reason names (legal_name exactly as on the IRS letter, the address, the website, the DBA, the contacts) and send it again — no new charge; its texts still wait and go by themselves when it passes. Asks the owner first. A wrong EIN is re-typed by the owner (on the number's texting setup or their assistant's card), never by you.

ParameterTypeRequiredDescription
company_idstringyesFrom get_texting_status
legal_namestring
dba_namestring
websitestring
streetstring
citystring
statestring
postal_codestring
contact_emailstring
contact_phonestring
first_namestring
last_namestring

get_call_campaign

Scope: phone:read

Get one call campaign plus a sample of its per-contact dial runs (dispositions, durations).

ParameterTypeRequiredDescription
campaign_idstringyes

get_call_recording

Scope: phone:read

Fetch a recorded call's playback URL (freshly signed, 1h) and its transcript when one exists. Pass the call id from list_call_history. Returns recorded:false when the call wasn't recorded.

ParameterTypeRequiredDescription
call_room_idstringyesCall id from list_call_history.

get_call_script

Scope: phone:read

Get one call script including its opening line, instructions, goals, and end-of-call action.

ParameterTypeRequiredDescription
script_idstringyes

get_sms_campaign

Scope: phone:read

Get one SMS campaign, including its drip steps if it's a drip.

ParameterTypeRequiredDescription
campaign_idstringyes

get_texting_guide

Scope: phone:read

Read this before setting up texting from US numbers (10DLC), or when someone asks what it needs or costs: what the carriers require for a company or for Just me, the 2 to 5 kinds of texts and how to write the examples, the sign-up page rules, the exact prices and when each is charged (read live from Telnyx), what happens after sending, and the most common reasons for a no and how to avoid them.

get_texting_status

Scope: phone:read

Where US texting stands for this space's numbers: which can text, the owner's company behind them (EIN as last 4 digits), the texts (plan, kinds, examples, status, the carriers' reason when turned down) and what happens next. sync=true asks the registry first. The owner is told when the carriers answer, so don't poll in a loop.

ParameterTypeRequiredDescription
syncboolean

get_whatsapp_calls

Scope: phone:read

How the space's WhatsApp numbers take calls: whether calls ring in Wakato, and the steps a call goes through until someone answers (ring someone in the Wakato app, ring a phone number, an agent answers, take a voicemail), plus who and what can be picked for each step (people, agents, Wakato numbers to call from). Give no number for all of them. Calls also need Meta: a payment card, business verification, an approved name.

ParameterTypeRequiredDescription
social_account_idstringThe WhatsApp number's account id (from this answer, or the social accounts list).

list_call_campaigns

Scope: phone:read

List outbound call campaigns in the space, optionally filtered by status.

ParameterTypeRequiredDescription
statusstring
limitnumber

list_call_history

Scope: phone:read

List recent calls in the space.

ParameterTypeRequiredDescription
limitnumber

list_call_scripts

Scope: phone:read

List reusable call scripts (voice scripts an agent's Reach follows on a call) in the space.

ParameterTypeRequiredDescription
limitnumber

list_phone_numbers

Scope: phone:read

List active phone numbers in the space.

list_sms_campaigns

Scope: phone:read

List SMS campaigns (broadcasts + drip sequences) in the space.

ParameterTypeRequiredDescription
statusstring
limitnumber

list_sms_templates

Scope: phone:read

List reusable SMS templates in the space.

ParameterTypeRequiredDescription
limitnumber

make_call

Scope: phone:run

Call someone on the phone and have a live conversation with a GOAL — book them into a meeting, offer something, tell them something, follow up — handled by an agent's Reach (voice on) from its own number (consequential, billable: voice minutes charge the space wallet). Any country the carrier reaches can be called: the phone line is charged per started minute at that country's price (the approval card says it; the US and Canada cost the flat price), on top of the AI voice. A special-rate or toll-free number abroad, or a destination over the per-minute ceiling, is refused in words before anything is asked. The voice stays on the goal until it is reached or the person says no, can book on the space's booking page and hand the call to a person (its transfer setup), and leaves a voicemail if nobody picks up — its own short message, your exact words (voicemail_message) or audio played as it is (voicemail_from_chat = the voice note someone just recorded in this chat, voicemail_audio_asset_id = a file in Assets); leave_voicemail:false to hang up instead. The result says which. Requires to (E.164). Put EVERYTHING the voice needs in purpose: who you are calling for, what you want them to do, the facts to tell them, what counts as done, and when to hand over to a person — the voice knows nothing else about this call. To call at a later time, set an alarm (schedule_task) and call then. You do not wait on the call: when it ends you get ONE message in this chat with how it went (answered or not, goal reached or not, what happened, the next step). reach_id is optional: without it the call goes from the agent that owns from, else from your own line, else from the space's only line.

ParameterTypeRequiredDescription
tostringyesDestination phone number (E.164, e.g. +15551234567).
reach_idstringThe Reach that makes the call (reach_id from list_agent_reach). Optional when only one agent owns a number.
purposestringThe goal and everything the voice needs: who you are calling for, what you want them to do (book a meeting, say yes to an offer…), the facts to tell them, what counts as done, when to hand them to a person.
callee_namestringName of the person being called (the voice confirms it is them before sharing anything).
leave_voicemailbooleanLeave a short message when voicemail answers (default true).
call_script_idstringA call script of this space to follow (list_call_scripts): opening line, goals in order, what to do at the end.
voicemail_messagestringExact words to say on voicemail (under 600 characters). Leave out to let the voice say its own short message.
voicemail_audio_asset_idstringAn audio file of the space's Assets (list_document_assets) to play on voicemail as it is. Make one in your own voice with generate_speech; mp3, wav, m4a…, up to 15 MB.
voicemail_from_chatbooleanDrop the newest voice note a person recorded in this chat (the microphone in the message box) on voicemail, as it is — e.g. "if he doesn't pick up, leave him my voice note".
voicemail_audio_urlstringOr an audio link stored in Wakato (a voice note or audio file sent in a chat) to play on voicemail.
fromstringSpecific owned number to call from (optional; defaults to the agent's number).

request_phone_number

Scope: phone:read

Ask the space's owner to buy a phone number for an agent: a card appears in this chat with the number, its place and its monthly price (billed to the owner's own wallet); they buy it with one tap, or give one they already have. Once they say yes it is ALREADY set up on the agent — calls try the agent first, then the owner's phone, then voicemail, and texts come to the agent. Use a number from search_phone_numbers that the person picked. You get a message when they answer.

ParameterTypeRequiredDescription
phone_numberstringyesE.164 number from search_phone_numbers.
country_codestringIts country, default US.
agent_idstringThe agent the number is for (from list_agents). Default: you.
purposestringOne sentence on the card: what the number is for.

resend_texting_campaign

Scope: phone:write

Texts the carriers turned down, sent again as a NEW campaign (a turned-down one can't be edited). Fix what the reason names first (the sign-up page with build_texting_signup_pages, the examples, the kinds), then this. Costs the review + 3 months again from the owner's wallet: the owner's card says how much.

ParameterTypeRequiredDescription
texts_idstringyesFrom get_texting_status
examplesstring[]
kindsstring[]
signup_urlstring

search_phone_numbers

Scope: phone:read

Phone numbers for sale (local numbers in the US, Canada and the few other countries Wakato sells in), each with its place and monthly price. Use when the space has no number for an agent to answer (get_agent_reach_setup says so): ask the person which city or area code they want, offer two or three, then request_phone_number.

ParameterTypeRequiredDescription
country_codestringISO country code, default US.
area_codestringPreferred area code, e.g. 305.
citystringA city, e.g. Miami (US/CA) — give state too.
statestringTwo-letter US state or Canadian province, e.g. FL.
containsstringDigits the number should contain.
limitnumberHow many (default 8, at most 20).

send_sms

Scope: phone:run

Send an SMS from a space number (consequential, billable). Requires to (E.164) and message.

ParameterTypeRequiredDescription
tostringyes
messagestringyes
fromstringSpecific space number to send from (optional).

send_sms_campaign

Scope: phone:run

Consequential + billable: schedule a broadcast SMS send (scheduled_at defaults to now) or start a drip. Requires a sender number, an audience, and message content.

ParameterTypeRequiredDescription
campaign_idstringyes
scheduled_atstringISO timestamp; omit to send ASAP.

set_whatsapp_call_steps

Scope: phone:write

Set who a WhatsApp number's calls ring, in order (at most six steps). Each step is one of: {type:"app", ring_user_id, timeout} rings that person in the Wakato app for timeout seconds (10–60); {type:"forward", to:"+1…", from_phone_number_id, timeout} rings a phone number, the call coming from one of the space's Wakato numbers; {type:"agent", bot_id} an agent answers; {type:"voicemail", max_seconds} takes a message (20–180 s). An agent or a voicemail ends the list (one of them, last). Ids come from get_whatsapp_calls.

ParameterTypeRequiredDescription
social_account_idstringyes
stepsobject[]yesThe steps, in the order they run.

start_call_campaign

Scope: phone:run

Consequential + billable: launch a call campaign. Validates it has a voice-enabled agent, an audience, and an active sender number, then schedules it — the runner enrolls the audience and starts dialing on its next tick.

ParameterTypeRequiredDescription
campaign_idstringyes
scheduled_atstringISO timestamp; omit to start ASAP.

start_us_texting

Scope: phone:write

Set up texting from this space's US numbers in ONE go, for the space owner and on their wallet: the company (or Just me), the plan, the kinds of texts, one example per kind, the sign-up page, the numbers. Checks everything the carriers check first and answers the problem in a sentence; then the owner approves on a card that shows the full price schedule. Never pass an EIN: for a company it must already be saved on the owner's Business (business_profile_id) or an earlier company (existing_brand_id); if it isn't, you are told what to say to the person. After the yes the company goes to the carriers; the texts go by themselves the moment it passes. Read get_texting_guide first.

ParameterTypeRequiredDescription
whocompany | mecompany = a business with a 9-digit EIN (any number of numbers); me = the owner texting as themselves, no EIN (one number).
business_profile_idstringOne of the owner's Businesses whose tax ID is saved: it is used (you never see it).
existing_brand_idstringA company already confirmed or with the carriers (get_texting_status): its details are used and its check is not paid again.
legal_namestringCompany: the legal name EXACTLY as on the IRS letter (CP 575 / 147C).
dba_namestringThe name customers know, if different. Every example must name it.
company_typeprivate_profit | public_profit | non_profit | government
industrystringe.g. PROFESSIONAL, RETAIL, HEALTHCARE, REAL_ESTATE, TECHNOLOGY, HOSPITALITY
websitestringOpens and names the business (https).
streetstringNo PO box.
citystring
statestring2 letters
postal_codestring
contact_emailstring
contact_phonestring
stock_exchangestringpublic_profit only
stock_symbolstringpublic_profit only
first_namestringJust me: as on the owner's ID
last_namestringJust me: as on the owner's ID
mobile_phonestringJust me: the owner's own US mobile (not a Wakato number); a 6-digit code is texted to it.
planlow | high | melow = under ~2,000 texts a day; high = more; me = Just me.
kindsstring[]Company: 2 to 5 kinds of texts.
examplesstring[]One example text per kind (at least 2): names the sender, ends with "Reply STOP to opt out", no short links.
signup_urlstringThe https sign-up page (build_texting_signup_pages makes one).
privacy_urlstring
terms_urlstring
numbersstring[]This space's US local numbers to text from (ids from list_phone_numbers, or the numbers).
testbooleanTest mode, only on Wakato's dev project: nothing reaches the carriers.

switch_whatsapp_calls

Scope: phone:write

Switch a WhatsApp number's calls off (on: false) or back on (on: true). Calls come on by themselves once Meta allows them on a connected number (ringing the owner in the Wakato app, then voicemail); switched off here they stay off until someone switches them on. Refused in words while Meta doesn't allow calls on the number yet.

ParameterTypeRequiredDescription
social_account_idstringyes
onbooleanyes

update_call_campaign

Scope: phone:write

Edit a draft/paused/scheduled call campaign (agent, audience, sender, script, throttling, retry, time window).

ParameterTypeRequiredDescription
campaign_idstringyes
namestring
reach_idstring
audience_idstring
from_phone_number_idstring
call_script_idstring
max_concurrentnumber
retry_policyobject
time_windowobject

update_call_script

Scope: phone:write

Edit a call script. Passing goals REPLACES the full goal list.

ParameterTypeRequiredDescription
script_idstringyes
namestring
descriptionstring
opening_linestring
instructionsstring
goalsobject[]
end_actionhang_up | transfer | send_sms | book_meeting | none
end_action_configobject
default_agent_idstring
variablesobject[]

update_sms_campaign

Scope: phone:write

Edit a draft/paused/scheduled SMS campaign. Passing steps REPLACES all drip steps.

ParameterTypeRequiredDescription
campaign_idstringyes
namestring
bodystring
from_phone_number_idstring
audience_idstring
enrollment_modeone_shot | continuous
trigger_audience_idstring
opt_out_footerboolean
stepsobject[]

update_sms_template

Scope: phone:write

Edit an SMS template (name, body, variables).

ParameterTypeRequiredDescription
template_idstringyes
namestring
bodystring
variablesobject[]

On this page