External Reach

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

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

add_agent_reach_knowledge

Scope: reach:write

Attach knowledge to an agent's Reach and index it (chunk + embed for RAG). Provide ONE of: content (raw text → a knowledge document is created), page_id (an existing space page), or asset_id (an existing document asset). Billable: indexing runs embeddings.

ParameterTypeRequiredDescription
agent_idstringyes
contentstringRaw text to turn into a knowledge document.
titlestringTitle when using content.
page_idstring
asset_idstring

create_snapshot

Scope: reach:write

Make an APP TEMPLATE from a Space App in THIS SPACE (people see it under Backstage → Origins). Captures config/code — channels, secrets and conversations stay behind (they become install-time requirements); the app's records come along only with include_records / record_ids. Returns the template with its typed public_id (snap_app_*) — hand that id to any agent to add it elsewhere with install_snapshot. kind 'agent' is refused: an agent's template is its recipe (Make a recipe on the agent's page).

ParameterTypeRequiredDescription
kindagent | appyes'app' = Space App. ('agent' is refused — an agent's template is its recipe.)
source_idstringyesThe Reach id (reach_id from list_agent_reach) or app id to capture (must live in this space).
namestringTemplate name (defaults to the source's name).
descriptionstring
visibilityprivate | team | publicDefault private. 'team' = members of this space can install it; 'public' = anyone with the id.
include_recordsbooleanApps: carry ALL of the app's own records (up to 2,000) so the copy arrives filled in (sample work to sell with it, say). Visitors' records never come along. Default false = the copy starts empty.
record_idsstring[]Apps: carry ONLY these records (ids of the app's own records, from its data) — pick the ones that show finished work and hold no customer names, emails or orders. Wins over include_records.

enable_agent_reach

Scope: reach:write

Put an EXISTING agent on the Reach harness: makes its Reach settings (same name and face as the agent, paused) if it has none, writes any settings passed alongside, and switches it on when on=true. Idempotent. This is NOT a way to make an agent — agents are made from Messages → New agent (or the account assistant's create_agent); pass the agent_id from list_agents. Then use the other Reach tools to add knowledge, channels, voice, video, capabilities and widget config; set each platform with set_agent_reach_platform (switch it on, what it may do there, how to reply in DMs and to comments / story mentions / reviews, limits); talk to it as a person on a platform with test_agent_reach (the owner sees every test in the Test zone); and save the replies you liked as checks (set_agent_reach_test_scenario) so run_agent_reach_test_scenarios keeps asking them after every change. A/B different instructions in production with set_agent_reach_variant; roll back any bad change with restore_agent_reach_version (every meaningful edit is auto-versioned).

ParameterTypeRequiredDescription
agent_idstringyesThe agent to put on the harness (from list_agents / list_agent_reach).
onbooleantrue switches the Reach on right away; omit to leave it paused until it is configured.
instructionsstringHow it answers for the business on the outside (its brain's own instructions are separate).
greeting_messagestring
modelstringThe model its written replies outside Wakato run on. Leave it out: Wakato's pick is cheap and fast. Only when the person asks for another: a model from list_agent_reach_reply_models.
contextstringExtra background knowledge.
temperaturenumber
max_tokensnumber
avatar_urlstring
languagestringISO 639-1 code, e.g. en, fr.
guardrailsstringWords the agent reads about what it must not say or do. Never a block: to stop a number, email or domain from reaching it use set_agent_reach_screening, which keeps them out before the agent is woken.
multi_bubble_repliesbooleanWhen true, the agent may reply in several short back-to-back messages ("human texting") instead of one long message.
max_bubblesnumberMax messages per turn when multi_bubble_replies is on (1–6, default 3).
multi_bubble_channelsstring[]Channels the multi-message split applies to. Keys: chat_widget, social, sms, whatsapp. Default: chat_widget + social.
eval_monitor_enabledbooleanEval autopilot: re-run the agent's saved eval scenarios automatically (daily + shortly after config changes); failures open a PM task for the agent. Billable per run — default false.

get_agent_reach

Scope: reach:read

Get an agent's Reach including instructions and capability_context (per-category defaults + rules). Use list_agent_reach_playbooks for playbooks.

ParameterTypeRequiredDescription
agent_idstringyes

get_agent_reach_conversation

Scope: reach:read

Read one Reach conversation's full transcript (role + content per message, chronological), plus call metadata when it was a call (duration, outcome, recording playback URL freshly signed for 1h). Use after list_agent_reach_conversations to review what an agent said on a call or discussed with a lead.

ParameterTypeRequiredDescription
conversation_idstringyes
message_limitnumberLast N messages (default 100, cap 500).

get_agent_reach_readiness

Scope: reach:read

Get an agent's Reach readiness report: structural lint issues (instructions needing a disabled capability, broken booking forms, playbook tool gaps...) plus the last AI deep-check audit (semantic contradictions between instructions, restrictions, forms, and playbooks — each finding has a suggested fix). Use this to see what to repair, apply fixes with update_agent_reach / set_agent_reach_capabilities / form tools, then re-check. The deep_check part may be stale — compare its checked_at against recent edits and use run_agent_reach_deep_check to refresh.

ParameterTypeRequiredDescription
agent_idstringyes

get_agent_reach_screening

Scope: reach:read

Who may reach an agent from outside, per channel (phone calls, texts, WhatsApp, email, social messages, commerce chats): who is blocked, who is allowed, whether it answers anyone, only saved contacts or only a list, what a blocked call meets, and the last people it kept out. Read it before changing it, and to answer "is this number blocked?".

ParameterTypeRequiredDescription
agent_idstringyesThe agent (list_agents / list_agent_reach).

get_agent_reach_setup

Scope: reach:read

Where an agent can be reached outside Wakato, platform by platform — phone, texts, email, the website chat, Instagram, WhatsApp, Facebook… — what is connected behind each, what is missing in one sentence, and the NEXT move as a tool call: hook up an account or number the space already has (set_agent_reach_channel), a card for the person to sign in (request_connection), a number to buy (search_phone_numbers → request_phone_number), a broken phone line to repair. Read this FIRST whenever the person wants it set up somewhere or asks why it isn't answering there. platform narrows to one.

ParameterTypeRequiredDescription
agent_idstringThe agent (from list_agents). Default: you.
platformphone | sms | whatsapp | telegram | email | widget | instagram | facebook | x | linkedin | tiktok | threads | youtube

get_agent_reach_widget

Scope: reach:read

Get an agent's Reach chat-widget config plus the public embed token and a ready-to-paste embed <script> snippet (put it on a page or external site).

ParameterTypeRequiredDescription
agent_idstringyes

install_snapshot

Scope: reach:write

Add an app template into THIS space and get a readiness report. Missing models are auto-enabled and owned secrets matching by name are auto-assigned; the report's missing array lists what still needs you — resolve secrets with request_secret_input/assign_secret_to_space and connect integrations, then it is ready. Templates never carry secret values, channels, or data. (An agent template is a recipe: people add it with New agent.)

ParameterTypeRequiredDescription
snapshot_idstringA template id (from list_snapshots). Accepts the typed public id (snap_app_*) or a bare uuid.
release_idstringA purchased release id (alternative to snapshot_id).
share_tokenstringShare token if adding a template shared via link.

list_agent_calls

Scope: reach:read

The phone calls an agent is on right now and made or took lately, live first: who with, in or out, how long, the last thing said, what came of a finished one and its recording. When a person asks to listen to a call ("let me hear the call you're on", "is anyone on the phone?"), call this and give them each live call's listen_link as it is: it opens their Wakato straight into listening, and nobody on the call hears them. agent_id = whose calls (leave out for your own). live_only = only calls happening now.

ParameterTypeRequiredDescription
agent_idstringThe agent whose calls to list. Leave out for your own.
live_onlybooleanOnly calls happening right now.
daysnumberHow far back for finished calls (default 2, at most 30).

list_agent_reach

Scope: reach:read

Every agent in this space and the state of its Reach — one row per agent: agent_id (what every other tool takes), engine, brain model, whether it is running, and reach (null until enable_agent_reach; otherwise reach_id, on/off, model). There is no other kind of agent: a 'Reach' does not exist any more, the Reach is a harness on an agent the space already has.

list_agent_reach_capabilities

Scope: reach:read

List an agent's Reach capabilities and whether each is enabled.

ParameterTypeRequiredDescription
agent_idstringyes

list_agent_reach_channels

Scope: reach:read

List the channels an agent's Reach is assigned to (widget, phone, sms, email, whatsapp, social_dm, meet).

ParameterTypeRequiredDescription
agent_idstringyes

list_agent_reach_conversations

Scope: reach:read

List conversations this space's agents have had across channels (widget, phone, sms, whatsapp, email, social_dm...): visitor, contact link, summary, message count, call duration, outcome, last activity. This is where Reach CALL records live — inbound, outbound/test, and campaign calls all land here as channel='phone'. Filter by agent_id, channel, status, contact_id, or since.

ParameterTypeRequiredDescription
agent_idstringOne Reach (from list_agent_reach).
channelstring
statusactive | closed | archived
contact_idstringConversations linked to this contact.
sincestringISO timestamp — active after this.
limitnumberMax rows (default 25, cap 100).
offsetnumber

list_agent_reach_knowledge

Scope: reach:read

List an agent's Reach knowledge sources and their indexing status (pending|indexing|ready|error) + chunk_count.

ParameterTypeRequiredDescription
agent_idstringyes

list_agent_reach_playbooks

Scope: reach:read

List an agent's Reach post-call playbooks (outcome-triggered follow-ups that run after a voice call closes), in priority order.

ParameterTypeRequiredDescription
agent_idstringyes

list_agent_reach_reply_models

Scope: reach:read

The model an agent's WRITTEN replies outside Wakato run on (texts, WhatsApp, social messages and comments, email, the website chat), and every model it may be set to with its price. These replies are written by a Wakato service on a gateway model and paid from the space's wallet, whatever engine the agent itself runs on (in its own chat and in Wakato groups it answers on its own engine). With nothing chosen it is Wakato's pick, a cheap and fast model. Use before set_agent_reach_reply_model.

ParameterTypeRequiredDescription
agent_idstringyesThe agent (list_agents / list_agent_reach).

list_agent_reach_scopes

Scope: reach:read

List the resource scopes on an agent's Reach capabilities. A capability with no scope row reaches every record of its type in the space; a scope row constrains it to specific ids or tags.

ParameterTypeRequiredDescription
agent_idstringyes

list_agent_reach_test_scenarios

Scope: reach:read

List an agent's Reach saved eval scenarios (regression tests) with their last pass/fail result and reply.

ParameterTypeRequiredDescription
agent_idstringyes

list_agent_reach_variants

Scope: reach:read

List an agent's Reach A/B instruction variants AND their live results (conversations + deflection_rate per variant, including base_instructions). Deflection = handled without a human handoff. Use this to see whether an experiment has a winner before keeping/removing variants.

ParameterTypeRequiredDescription
agent_idstringyes

list_agent_reach_versions

Scope: reach:read

List an agent's Reach config version history (newest first, default 20, max 50). A DB trigger auto-snapshots the PRIOR config on every meaningful change — including changes YOU make via these tools — so every edit is reversible. Returns a compact config_preview per version (long fields truncated); restore_agent_reach_version applies the full stored config.

ParameterTypeRequiredDescription
agent_idstringyes
limitnumber1-50, default 20.

list_agent_reach_voice_options

Scope: reach:read

What an agent's calls can run on and how it can sound. With agent_id: every call model (GPT Realtime, GPT Live, Gemini Live, Deepgram and others), each one's voices (by language where a voice speaks only one), the price a minute, the three-pieces option, and what the agent uses now. Use before set_agent_reach_voice.

ParameterTypeRequiredDescription
agent_idstringThe agent (list_agents / list_agent_reach).

list_snapshots

Scope: reach:read

List the APP TEMPLATES (people see them under Backstage → Origins) you can add into this space — your own plus any shared into this space. Each entry reports dependency_count and whether it came from_this_space. Use install_snapshot with an id to add one. (Agent templates are recipes, and whole-space templates are made with create_space_snapshot; an old 'agent' entry can no longer be added.)

ParameterTypeRequiredDescription
kindagent | appFilter by kind (app templates are the ones that can be added; 'agent' lists older agent copies).

list_video_avatars

Scope: reach:read

List the video avatars an agent's Reach can appear as on camera (id, name, preview image), plus valid vision_model options. Use before set_agent_reach_video.

remove_agent_reach_channel

Scope: reach:write

Remove a channel assignment from an agent's Reach. channel_id from list_agent_reach_channels.

ParameterTypeRequiredDescription
agent_idstringyes
channel_idstringyes

remove_agent_reach_knowledge

Scope: reach:write

Detach a knowledge source from an agent's Reach (its chunks are removed too). source_id from list_agent_reach_knowledge.

ParameterTypeRequiredDescription
agent_idstringyes
source_idstringyes

remove_agent_reach_playbook

Scope: reach:write

Delete a post-call playbook. playbook_id from list_agent_reach_playbooks.

ParameterTypeRequiredDescription
agent_idstringyes
playbook_idstringyes

remove_agent_reach_scope

Scope: reach:write

Remove all resource scoping for a capability, making it space-wide again.

ParameterTypeRequiredDescription
agent_idstringyes
capabilitystringyes

remove_agent_reach_test_scenario

Scope: reach:write

Delete an eval scenario. scenario_id from list_agent_reach_test_scenarios.

ParameterTypeRequiredDescription
agent_idstringyes
scenario_idstringyes

remove_agent_reach_variant

Scope: reach:write

Delete an A/B instruction variant (e.g. the loser after an experiment). variant_id from list_agent_reach_variants.

ParameterTypeRequiredDescription
agent_idstringyes
variant_idstringyes

restore_agent_reach_version

Scope: reach:write

Roll an agent's Reach back to a saved config version (instructions, guardrails, greeting, model, temperature, context, safety). The config that is live right now gets auto-saved as a new version first, so a restore is itself reversible. version_id from list_agent_reach_versions. Use this when a config change made the agent worse (e.g. eval scenarios started failing).

ParameterTypeRequiredDescription
agent_idstringyes
version_idstringyes

run_agent_reach_deep_check

Scope: reach:write

Run the AI deep check on an agent's Reach NOW (billable — one LLM audit charged to the space wallet). Reads the whole config (instructions, restrictions, playbooks, capabilities, booking-page forms) and returns contradictions with suggested fixes. Run after editing the agent to verify your fixes landed clean.

ParameterTypeRequiredDescription
agent_idstringyes

run_agent_reach_test_scenarios

Scope: reach:write

Run the agent's checks (eval scenarios) as tests on each one's platform — the real reply on that platform's own settings, tools dry, no contact, out of the stats — and record pass/fail on each plus a row in its run history (billable: every check is one turn charged to the space wallet). Omit scenario_id to run the whole suite; pass it to run one. Returns per-check pass/fail with the reply, the missing words, the unwanted words found, or the silence reason. Run this after config changes to catch regressions before customers do.

ParameterTypeRequiredDescription
agent_idstringyes
scenario_idstringRun just this scenario; omit to run all.

send_reach_test_card

Scope: reach:read

Put a "Try me" card in the chat you are answering in, so the people who run an agent can test its External Reach themselves: each row opens the Test zone (the place your own test_agent_reach tests are kept) on that platform, as a page on the web and over the chat on the phone. Send it once a platform works, after your own test. agent_id = the agent to test (leave out for yourself); platforms = which to offer (phone, sms, email, widget, instagram…), left out = what is hooked up to it. Nothing is tested in the chat and nothing reaches a customer. Then say in one line that they can try it.

ParameterTypeRequiredDescription
agent_idstringThe agent to test. Leave out for yourself.
platformsstring[]Which platforms to offer. Left out = what is hooked up to it.
notestringYour own short line above the card (optional).

set_agent_reach_approvals

Scope: reach:write

OLDER DOOR, kept one release: since 2026-09-21 asks-first is a position of each platform row's switch — set it with set_agent_reach_platform, settings.allowed.<action> = 'ask'. This tool still takes the ten old keys and writes each where it now lives (a social key → every social row); only book_appointment and create_booking_page stay on approval_actions. Replaces the full list; pass [] to clear

ParameterTypeRequiredDescription
agent_idstringyes
approval_actionsstring[]yes

set_agent_reach_capabilities

Scope: reach:write

Enable/disable an agent's Reach capabilities (permissions). Pass capability keys like contacts_read, contacts_create, pages_create, calendar_event_create, tasks_create, social_post_publish, email_campaign_send, sms, phone_inbound. Check the Capabilities UI for the full catalog.

ParameterTypeRequiredDescription
agent_idstringyes
enablestring[]Capability keys to enable.
disablestring[]Capability keys to disable.

set_agent_reach_channel

Scope: reach:write

Assign/enable a channel for an agent's Reach. channel_type: widget|phone|sms|email|social_dm|platform|meet. resource_id is the phone number / mailbox address / social account id it routes to (omit for widget). email: one of the space's own mailboxes, or a Gmail connected on the space (its address); mail people send to it is then answered by the agent in the same email thread, from that address (a mailbox another agent answers is refused unless take_from names that agent). A Gmail or Outlook is answered for mail that arrives from then on. WhatsApp and Telegram are social_dm: pass the WhatsApp or Telegram account connected in Connectors (it must be on this space). Phone auto-configures SIP routing. commerce: one of the commerce accounts run from this space (its id or name); the agent then answers that account's clients, as the account, on its External Reach, and only one agent holds an account (another's is refused unless take_from names it). A mailbox or a commerce account may carry its OWN instructions (email or commerce): pass instructions to say how mail to THAT mailbox is answered, beside the Email row's own (set_agent_reach_platform); an empty string clears them; calling again without it keeps them.

ParameterTypeRequiredDescription
agent_idstringyes
channel_typewidget | phone | sms | email | social_dm | platform | meet | commerceyes
resource_idstring
social_account_idstringFor social_dm.
can_inboundboolean
can_outboundboolean
configobjectChannel-specific config.
instructionsstringemail or commerce: how mail to THIS mailbox, or clients of THIS commerce account, are answered (tone, what to offer, what to pass to a person, a document to answer from). Up to 8000 characters.
take_fromstringOnly to MOVE a number another agent answers or texts on, when the owner asked for that: the name of the agent it is taken from. Without it such a number is refused, naming who holds it.

set_agent_reach_context

Scope: reach:write

Set an agent's Reach per-capability operating defaults + rules (agent_reach.capability_context). Enabling a capability grants the tool; this tells the agent WHICH resource to use and HOW (e.g. calendar → default_booking_page_id + 'book through Intro Call'; tables → default_table_id + 'log every call'). Pass category (calendar|tables|forms|contacts|…) with rules and/or the relevant default id. Merges into the existing context — partial calls keep other categories.

ParameterTypeRequiredDescription
agent_idstringyes
categorystringCapability category, e.g. calendar, tables, forms, contacts.
rulesstringFree-text operating rules for this category.
default_booking_page_idstringFor calendar: the booking page the agent books through by default.
default_table_idstringFor tables: the table the agent reads/writes by default.
capability_contextobjectAdvanced: full { category: { … } } object to shallow-merge (instead of category + fields).

set_agent_reach_limits

Scope: reach:write

Set rate limits + daily budget for an agent's Reach. per_day = max replies/day; per_sender_hour = max inbound per conversation/hour; daily_spend_usd = max wallet spend/day. Any field set to null or 0 = unlimited. Partial update.

ParameterTypeRequiredDescription
agent_idstringyes
per_daynumber,null
per_sender_hournumber,null
daily_spend_usdnumber,null

set_agent_reach_persona

Scope: reach:write

Set an agent's Reach personality — the "How you talk" layer compiled into its system prompt on every channel (chat, SMS, WhatsApp, email, social, voice). Patch semantics: only the keys you pass change; pass null (or "") to clear a key, or clear: true to reset the whole persona to the legacy neutral voice. Read the current value via get_agent_reach (persona field).

ParameterTypeRequiredDescription
agent_idstringyes
presetstringBase character: warm | professional | playful | direct.
verbositystringReply length habit: brief | balanced | chatty.
emojistringWritten channels only: none | light | expressive.
mirror_languagebooleanReply in the customer's language and register (default true).
quirksstringOwner's own words about how the agent should sound, e.g. "light humor, says 'awesome', never slang". Max 600 chars.
clearbooleanReset the whole persona to the legacy neutral voice.

set_agent_reach_platform

Scope: reach:write

Set ONE platform of an agent's External Reach — the same settings the owner sets on the agent's page, merged key by key in the database (a second save never loses the first; omit a key to leave it). settings: { enabled: bool (the platform's switch), allowed: { action: true | false | 'ask' } (what it may do THERE — answer, reply_comment, reply_story, reply_review, comment_post, publish_post, send_first, send_rcs, place_calls, campaigns; each platform has its own set, get_agent_reach's platforms and the error message name them. 'ask' = ASKS FIRST: it queues the action for the owner and tells the person it has asked — only on send_first, campaigns, publish_post, reply_comment, send_rcs; answering is the conversation itself and is on or off), bubbles: { enabled: bool, max: 2–6 } (reply in several short messages the way a person texts — only where a reply is a bubble: sms, whatsapp, telegram, widget, instagram, facebook, x, linkedin, tiktok), instructions: text (how to reply here; on a social platform this is the DM box), situation_instructions: { comment | story_mention | review | reply: text } (a box per situation the platform has — Instagram/Facebook/TikTok/YouTube/LinkedIn/Threads/X comments, Instagram/Facebook story mentions, Facebook reviews, X/Threads replies; "" clears one), limits: { key: number|null } (the platform's own limit keys: replies_per_day, replies_per_person_day, spend_per_day_usd, comments_per_post, callers_at_once — they tighten the agent's overall caps for this platform alone, the tighter one wins; null removes). Every instructions box is as detailed as the agent's brief (8000 chars) and takes the chat's @-mentions — @Table, @Document, @Page — which the agent gets resolved when it replies. Settings may be written before the platform is connected; it answers only when the Reach is on, the platform is enabled, the action is allowed and something is connected. Then test_agent_reach on that platform.

ParameterTypeRequiredDescription
agent_idstringyesThe agent (list_agents / list_agent_reach).
platformphone | sms | whatsapp | telegram | email | widget | instagram | facebook | x | linkedin | tiktok | threads | youtubeyes
settingsobjectyes{ enabled?, allowed?: {action: true|false|'ask'}, bubbles?: {enabled, max}, instructions?, situation_instructions?: {situation: text}, limits?: {key: number|null} }

set_agent_reach_playbook

Scope: reach:write

Create or update a post-call playbook — an autonomous follow-up that runs AFTER a voice call closes with a matching outcome (they never appear in the live prompt; the agent needs the voice channel enabled). Pass playbook_id to update; omit to create (title + trigger_type + objective required). trigger_type: after_every_call | call_no_booking | caller_hung_up_early | asked_for_human | agent_couldnt_answer. allowed_tools empty = all of the agent's enabled tools. escalation_rule = when/how to pull in a human.

ParameterTypeRequiredDescription
agent_idstringyes
playbook_idstringOmit to create; provide to update (from list_agent_reach_playbooks).
titlestring
trigger_typeafter_every_call | call_no_booking | caller_hung_up_early | asked_for_human | agent_couldnt_answer
objectivestringWhat the follow-up should do (may @mention tool names).
allowed_toolsstring[]Restrict the run to these tools; empty = all enabled tools.
escalation_rulestringWhen/how to pull in a human.
prioritynumberLower runs first (default 0).
enabledboolean

set_agent_reach_privacy

Scope: reach:write

Set conversation retention for an agent's Reach. retention_days = positive integer days after which conversations auto-delete, or null to keep them indefinitely.

ParameterTypeRequiredDescription
agent_idstringyes
retention_daysnumber,nullyes

set_agent_reach_reply_model

Scope: reach:write

Choose the model an agent's WRITTEN replies outside Wakato run on (texts, WhatsApp, social messages and comments, email, the website chat): { agent_id, model } with a model from list_agent_reach_reply_models. model "" goes back to Wakato's pick (cheap and fast). Keep Wakato's pick unless the person asks for another model or the replies are not good enough: a stronger model costs many times more on every message. It changes nothing about the agent's own engine or its call voice.

ParameterTypeRequiredDescription
agent_idstringyes
modelstringyesA model from list_agent_reach_reply_models (its key or its name). "" = Wakato's pick.

set_agent_reach_safety

Scope: reach:write

Set safety guards for an agent's Reach. pii_redaction strips PII from saved memories; input_guard screens inbound messages for prompt-injection; output_guard screens the agent's replies for PII leaks / abuse. Guard modes: off | flag (log only) | block. Partial — only provided fields change.

ParameterTypeRequiredDescription
agent_idstringyes
pii_redactionboolean
input_guardoff | flag | block
output_guardoff | flag | block

set_agent_reach_scope

Scope: reach:write

Constrain ONE capability to specific records or tags (resource_type is derived from the capability). mode: 'allow' (whitelist the given ids/tags), 'deny' (blacklist them), or 'owner_only' (only records this agent itself created). An 'allow' call with no resource_ids and no tag_ids clears the scope (capability becomes space-wide again). tag_ids only apply to contact/table/form/page. Scopable capabilities include contacts_read/edit, tables_read/row_update, pages_edit, forms_read, social_dm_reply, email_campaign_send, etc. — call with an unscopable capability to get the full list back in the error.

ParameterTypeRequiredDescription
agent_idstringyes
capabilitystringyese.g. contacts_edit, tables_row_update, social_dm_reply.
modeallow | deny | owner_onlyDefault allow.
resource_idsstring[]Record UUIDs the mode applies to.
tag_idsstring[]Tag UUIDs (contact/table/form/page only).

set_agent_reach_screening

Scope: reach:write

Block or allow people from reaching an agent from outside, the way a person asks: "don't let +1 555 123 4567 call me", "block everyone from @scam.com", "only my contacts may text it". A blocked sender never wakes the agent (no reply, no charge); their text or email still lands in the inbox for people. A blocked CALL skips the agent, or with blocked_calls: "hang_up" is refused before it rings anyone. Entries: a phone number written any way, a start of a number with * ("+234*" = a whole country code), an email, a whole domain ("@scam.com"), or a social @handle; commerce chats (clients writing to a commerce account it answers) take an email, a domain or a Wakato @username. Each list only holds its own kind: a number blocked from calling AND texting is channels ["phone", "sms", "whatsapp"]. Changes are merged: entries already there stay; unblock takes one off. Say back exactly what changed (the answer's done lines).

ParameterTypeRequiredDescription
agent_idstringyesThe agent (list_agents / list_agent_reach).
channelsstring[]yesWhich channels this applies to. A phone number usually goes on phone, sms and whatsapp; an email or domain on email (and commerce, for clients of a commerce account); an @username on social or commerce.
blockstring[]Numbers, emails, domains (@example.com) or handles to block.
unblockstring[]Entries to take off the blocked list.
modeeveryone | contacts | allowlistWho it answers besides the blocked: anyone (everyone), only saved contacts (contacts — not offered for commerce), or only the allowed list (allowlist).
allowstring[]Entries to add to the allowed list (used when mode is allowlist).
disallowstring[]Entries to take off the allowed list.
blocked_callsskip_agent | hang_upPhone only: what a refused call meets. skip_agent (default) = the agent doesn't take it, the number's other steps (ringing the app, voicemail) still may; hang_up = refused before it rings anyone.

set_agent_reach_test_scenario

Scope: reach:write

Create or update a CHECK — a saved regression test the monitor keeps asking: a prompt, the platform it is asked on (sms, whatsapp, email, widget, instagram, facebook, x, linkedin, tiktok, threads, youtube, phone, messages — the reply is on that platform's own settings), optionally the situation on a social platform (dm, comment, story_mention, review, reply), words the reply must contain, words it must never contain, or expect_silence=true when the agent must stay silent there. Omit scenario_id to create (name + prompt required); pass it to update. Empty words = pass if it replies at all. Re-run after every config change with run_agent_reach_test_scenarios.

ParameterTypeRequiredDescription
agent_idstringyes
scenario_idstringOmit to create; provide to update.
namestringe.g. 'Opening hours', 'Refund policy'.
promptstringThe test message to send the agent, as a customer would write it there.
platformstringWhere it is asked: sms | whatsapp | email | widget | instagram | facebook | x | linkedin | tiktok | threads | youtube | phone. Default widget (the website chat).
situationstringOn a social platform: dm | comment | story_mention | review | reply. Omit for the platform's default.
expect_containsstring[]Words the reply must contain (case-insensitive).
expect_not_containsstring[]Words the reply must NEVER contain.
expect_silencebooleantrue = the agent must stay silent here (a platform or situation it should not answer).

set_agent_reach_transfer

Scope: reach:write

Who a live phone call goes to when it is transferred to a person — the owner decides, the agent follows. people = the transfer list: each { name, phone } (a number dialled into the call; whoever picks up hears who is calling and presses 1 to take it) or { name, user_id } (a member of this space — list_space_members — rung in their Wakato app; they must accept being a transfer target first, a notification asks them). routes = who gets the call and in what order: each { when: the situation in the owner's words ("the caller asks about billing"), call: [names from people, in order], ring_seconds: 10–60 (how long each rings before the next), if_nobody: what to do when nobody takes it, in the owner's words, ask_first: OPTIONAL — what the agent gets from the caller before transferring ("their name and what it is about"), empty = transfer straight away }. Rules can route by who is calling: an existing contact vs a new caller, or by topic, each to different people. ONE person rings at a time, never two; the caller hears hold music; the first to accept gets the call. Passing people or routes REPLACES that list; pass neither to just read the current setup (with who has accepted). Use it when the owner says things like "if someone asks for billing, call Marie, then Sam, 20 seconds each; if nobody answers, offer a call back".

ParameterTypeRequiredDescription
agent_idstringyesThe agent (list_agents / list_agent_reach).
peopleobject[]The whole transfer list (replaces it). Each has a phone OR a user_id.
routesobject[]The whole list of transfer rules (replaces it).

set_agent_reach_variant

Scope: reach:write

Create or update an A/B instruction variant. Each NEW conversation is randomly assigned an active variant by weight (its instructions replace the base ones for that conversation); with no active variants the agent uses its base instructions. Omit variant_id to create (label + instructions required); pass it to update label/instructions/weight/active. Compare outcomes with list_agent_reach_variants.

ParameterTypeRequiredDescription
agent_idstringyes
variant_idstringOmit to create; provide to update.
labelstringe.g. 'Friendly tone', 'Concise + upsell'.
instructionsstringFull replacement instructions for this variant.
weightnumberRelative traffic share (positive integer, default 1).
activebooleanInactive variants get no new conversations.

set_agent_reach_video

Scope: reach:write

Enable/configure video for an agent's Reach (camera + screen-share vision on calls and Meet). video_enabled turns vision on; vision_model is the model that analyzes what's on camera (see list_video_avatars for options). video_avatar_id gives the agent an animated on-camera avatar with lip sync — pick one from list_video_avatars (pass its name/preview as avatar_name/avatar_preview_url); pass video_avatar_id: null to remove it. Video is independent of voice.

ParameterTypeRequiredDescription
agent_idstringyes
video_enabledbooleanAllow the agent to appear on camera and see video.
vision_modelstringModel that analyzes camera/screen-share frames, e.g. gpt-4o-mini.
video_avatar_idstring,nullVideo-avatar id from list_video_avatars; null removes the avatar. HeyGen engine only.
avatar_namestringDisplay name of the chosen avatar (from list_video_avatars).
avatar_preview_urlstringPreview image URL of the chosen avatar (from list_video_avatars).
avatar_enginestringAvatar backend: 'heygen' (LiveAvatar rig via video_avatar_id — cinematic, ~1-2s latency) or 'bithuman' (live avatar generated from avatar_photo_url — <200ms, works on both voice engines).
avatar_photo_urlstring,nullPortrait photo URL that drives the bitHuman live avatar (front-facing, well-lit works best). null clears it.

set_agent_reach_voice

Scope: reach:write

Set how an agent sounds on calls (phone, the website's call button, a meet): what its calls run on and the voice. Read list_agent_reach_voice_options { agent_id } first: it lists every call model with its voices and the price. Typical call: { agent_id, voice_enabled: true, call_model: "deepgram-voice-agent", voice: "Arnaud", language: "fr" }. A voice alone keeps the model the calls already run on. language is the language it SPEAKS on calls.

ParameterTypeRequiredDescription
agent_idstringyes
voice_enabledboolean
languagestring
call_modelstringWhat the agent's calls run on: a call_model from list_agent_reach_voice_options (for example gpt-realtime-2.1, gpt-live-1, gemini-3.8-live, deepgram-voice-agent). "" goes back to Wakato's pick.
voicestringA voice of that call model, by name, from the same list. A voice only exists on its own model. Some models' voices each speak ONE language: pick one in the callers' language.
voice_changenever | language | askMay the agent change its voice during a call with someone outside: never (default, the voice stays as set), language (it may move to a voice in the caller's language, where each voice speaks one language), or ask (it may change voice when the caller asks). Set it only when the person asks for it.
piecesobjectThree pieces instead of one live model: { listens, thinks, speaks, voice } with keys from the same list.
voice_enginestringAlways 'openai_realtime' (speech-to-speech) — the only voice engine. Any other value is rejected. Omit it; it is already set on every agent.
realtime_voicestringOlder way to pick a voice of the GPT Realtime models only. Use voice.
realtime_modelstringOlder way to pick the model (openai/gpt-realtime-2.1 or openai/gpt-live-1 only). Use call_model.

test_agent_reach

Scope: reach:write

Talk to an agent's External Reach AS A PERSON on one platform and read what it would answer — the same test the owner runs in the Test zone, and it lands there (under that platform) for them to read and carry on. The reply is on THAT platform's own settings (its switch, allowed actions, instructions, situation box), so pick the platform you are checking; tools run dry (nothing is written, sent or booked), no contact is made, nothing counts in its limits or stats; billed like a reply. A silence comes back with WHY (silence, silence_line: the platform is off, the action is not allowed, a limit…), and instructions_applied says whether the platform's / the situation's box was in play. Pass conversation_id to carry on the same test (multi-turn); omit for a fresh one. Liked the reply? set_agent_reach_test_scenario saves it as a check.

ParameterTypeRequiredDescription
agent_idstringyes
messagestringyesWhat the person writes (or comments).
platformphone | sms | whatsapp | telegram | email | widget | instagram | facebook | x | linkedin | tiktok | threads | youtubeWhere the person is. Default widget (the website chat).
situationdm | comment | story_mention | review | replyOn a social platform: a DM (default), a comment on the agent's post, a story mention, a review, a reply under its post.
conversation_idstringCarry on a prior test; omit to start fresh.

update_agent_reach

Scope: reach:write

Update an agent's Reach settings (instructions, status, greeting, model, context, temperature, max_tokens, language, guardrails, multi-bubble texting). status='active' switches the Reach on, 'paused' switches it off. The name and face belong to the agent itself and are changed on its page, not here.

ParameterTypeRequiredDescription
agent_idstringyes
namestring
instructionsstring
statusdraft | active | paused | archived
greeting_messagestring
modelstringThe model its written replies outside Wakato run on. Leave it out: Wakato's pick is cheap and fast. Only when the person asks for another: a model from list_agent_reach_reply_models.
contextstring
temperaturenumber
max_tokensnumber
avatar_urlstring
languagestring
guardrailsstringWords the agent reads about what it must not say or do. Never a block: to stop a number, email or domain from reaching it use set_agent_reach_screening, which keeps them out before the agent is woken.
multi_bubble_repliesbooleanWhen true, the agent may reply in several short back-to-back messages ("human texting") instead of one long message.
max_bubblesnumberMax messages per turn when multi_bubble_replies is on (1–6, default 3).
multi_bubble_channelsstring[]Channels the multi-message split applies to. Keys: chat_widget, social, sms, whatsapp.
eval_monitor_enabledbooleanEval autopilot: re-run the agent's saved eval scenarios automatically (daily + shortly after config changes); failures open a PM task for the agent. Billable per run.

update_agent_reach_widget

Scope: reach:write

Configure an agent's Reach chat widget: primary_color, position (bottom-right|bottom-left), greeting_text, placeholder_text, show_branding, allowed_domains (string[]), custom_css, allow_calls, allow_attachments, home_title, home_cards (array).

ParameterTypeRequiredDescription
agent_idstringyes
primary_colorstring
positionbottom-right | bottom-left
greeting_textstring
placeholder_textstring
show_brandingboolean
allowed_domainsstring[]
custom_cssstring
allow_callsboolean
allow_attachmentsboolean
home_titlestring
home_cardsarray

On this page