Available tools

Reference for all 29 Zoie MCP tools: every input parameter with its type, limits and default, the scope each tool requires, its annotations, and the fields it returns.

The Zoie MCP server registers 29 tools. This page lists each one’s input schema as tools/list advertises it, the scope it requires and what it returns. For the same list in plain language, see Available tools in the MCP guides.

Every result is a single text item holding JSON, and every failure is a result with "isError": true — see Tool results and Tool errors.

Summary

The four right-hand columns are the tool’s annotations. Clients use them to decide when to ask the user before a call.

ToolScopeRead-onlyDestructiveIdempotentOpen world
list_my_businessesNoneYesNoYesNo
list_team_membersteam:readYesNoYesNo
search_leadsleads:readYesNoYesNo
get_leadleads:readYesNoYesNo
get_lead_by_phoneleads:readYesNoYesNo
get_lead_activityleads:readYesNoYesNo
create_leadleads:writeNoNoNoNo
update_leadleads:writeNoYesYesNo
assign_leadleads:writeNoYesYesNo
bulk_update_leadsleads:writeNoYesYesNo
global_searchsearch:readYesNoYesNo
get_lead_notesnotes:readYesNoYesNo
add_lead_notenotes:writeNoNoNoNo
update_lead_notenotes:writeNoYesYesNo
list_conversation_channelsconversations:readYesNoYesNo
get_conversation_by_leadconversations:readYesNoYesNo
send_messageconversations:writeNoYesNoYes
appointment_calendarappointments:readYesNoYesNo
appointment_overviewappointments:readYesNoYesNo
list_appointment_leadsappointments:readYesNoYesNo
list_campaignscampaigns:readYesNoYesNo
get_campaigncampaigns:readYesNoYesNo
preview_campaign_audiencecampaigns:readYesNoYesNo
list_campaign_optionscampaigns:readYesNoYesNo
create_campaigncampaigns:writeNoNoNoYes
update_campaigncampaigns:writeNoYesYesYes
start_campaigncampaigns:writeNoNoYesYes
pause_campaigncampaigns:writeNoNoYesYes
resume_campaigncampaigns:writeNoNoYesYes

How scopes are granted is explained in Scopes.

Conventions

Types

Type in the tablesJSON Schema
string"type": "string"
integer"type": "integer", with the minimum and maximum shown
ID"type": ["string", "number"] — pass a Zoie ID as a number or a string
E.164 phoneA string matching ^\+?[1-9]\d{6,14}$: 7 to 15 digits, optional leading +, no spaces or punctuation
enumA string from the listed values. Values are case-sensitive.

Optional parameters with a default show it in the description. Arguments that aren’t in a tool’s schema are ignored.

Business ID parameter

Most tools take an optional business_id (ID). Its meaning depends on the connection:

  • Single-business connection. business_id is ignored. The tool always uses the business the connection is bound to.
  • Multi-business connection. business_id is required on every tool that has it, and must be one of the businesses the user approved. Leaving it out, or passing another business, returns a tool error whose detail.allowed_business_ids lists the valid values. Call list_my_businesses to see them with their names.

Tools without a business_id parameter act on a record ID. The Zoie API checks that the user’s role can reach that record. get_lead and get_lead_by_phone also refuse to return a lead from a business the connection doesn’t cover.

Account and team

list_my_businesses

Lists the businesses the user belongs to and shows which of them this connection covers. Needs no scope.

Parameters: none.

Returns: user (id, email); memberships — every business the user belongs to, each with business_id, business_name, business_industry, role_id, role_name and display_name; active_business_id for a single-business connection, otherwise null; allowed_business_ids for a multi-business connection, otherwise null; and a note explaining which applies.

list_team_members

Lists the users in the business and their roles, to name an assignee or pick someone for assign_lead.

ParameterTypeRequiredDescription
business_idIDSee Business ID parameter

Returns: business_id and members, each with user_id, full_name, email, activated, role_id, role_name, display_name and invitation_accepted.

Leads

Lead records are trimmed to these fields, where present: id, first_name, last_name, email, phone_number, lead_status, appointment_status, appointment_date_time, service, service_value, lead_type, lead_source, labels, assigned_id, assigned_type, business_id, campaign_id, is_duplicate, is_related, createdAt, created_on, updatedAt, updated_on and last_contacted_at, plus assigned_user_name when the assignee is known. assigned_id is a user ID when assigned_type is user, and an AI agent ID otherwise.

search_leads

Searches leads in the business.

ParameterTypeRequiredDescription
searchstringNoFree-text search across name, email and phone. Leave it out to list all leads.
pageinteger, min 1NoDefault 1.
limitinteger, 1–100NoDefault 20.
lead_type_filterarray of enum: relatedNo["related"] returns only related leads.
business_idIDSee Business ID parameter

Returns: Zoie’s paginated lead list, with each lead trimmed to the fields above.

get_lead

Fetches one lead by its Zoie ID.

ParameterTypeRequiredDescription
lead_idIDYesThe lead’s Zoie ID.

Returns: the trimmed lead. A lead from a business outside the connection is refused with a tool error, for example Refusing to return record from business 77: token is bound to business 214.

get_lead_by_phone

Finds a lead by phone number.

ParameterTypeRequiredDescription
phoneE.164 phoneYesFor example +15551234567.
business_idIDSee Business ID parameter

Returns: the trimmed lead, with the same business check as get_lead.

get_lead_activity

Returns a lead’s activity timeline, such as status changes, assignments, notes and appointment events.

ParameterTypeRequiredDescription
lead_idIDYesThe lead’s Zoie ID.

Returns: activity entries trimmed to id, lead_id, activity_type, activity_name, diff_summary, created_on, created_by, updated_on and updated_by. The full before-and-after data of each change isn’t returned.

create_lead

Creates a lead in the business.

ParameterTypeRequiredDescription
first_namestring, min 1 characterYes
last_namestringNo
emailstring, email formatNo
phone_numberE.164 phoneNo
servicestringNoThe service the lead is interested in.
service_valuestringNoInternal service code. Leave it out if unknown.
lead_statusstringNoOne of the business’s lead statuses.
lead_sourcestringNo
notesstringNo
labelsarray of stringsNoSaved as one comma-separated value.
campaign_idIDNo
business_idIDSee Business ID parameter

Returns: Zoie’s response for the new lead, unchanged.

update_lead

Changes fields on one lead. Only the fields you pass change.

ParameterTypeRequiredDescription
lead_idIDYesThe lead to change.
first_namestringNo
last_namestringNo
emailstring, email formatNo
phone_numberE.164 phoneNo
lead_statusstringNo
appointment_statusstringNo
servicestringNo
service_valuestringNo
labelsarray of stringsNoReplaces the lead’s labels with this list.
assigned_idIDNo

Returns: Zoie’s response, unchanged.

assign_lead

Assigns one lead to a user. Call it once per lead to assign several.

ParameterTypeRequiredDescription
lead_idIDYes
user_idIDYesA user_id from list_team_members.

Returns: Zoie’s response, unchanged.

bulk_update_leads

Applies the same change to several leads.

ParameterTypeRequiredDescription
lead_idsarray of IDs, min 1Yes
lead_statusstringNo
labelsarray of stringsNoReplaces each lead’s labels with this list.
servicestringNo

Returns: Zoie’s response, unchanged.

Searches across leads, appointments, conversations and deals in the business.

ParameterTypeRequiredDescription
searchstring, 1–200 charactersYesA name, number, email or other text.
pageinteger, min 1NoDefault 1.
limitinteger, 1–100NoDefault 20.
business_idIDSee Business ID parameter

Returns: Zoie’s search results, unchanged (not trimmed).

Notes

Notes are trimmed to id, lead_id, content, user_id, created_by, created_on, updated_at and updated_by.

get_lead_notes

Lists a lead’s notes, newest first.

ParameterTypeRequiredDescription
lead_idIDYes
pageinteger, min 1NoDefault 1.
limitinteger, 1–50NoDefault 20.

Returns: lead_id, page, limit, total, totalPages and notes. The server fetches all of the lead’s notes and pages them itself.

add_lead_note

Adds a note to a lead. Everyone in the business can see it.

ParameterTypeRequiredDescription
lead_idIDYes
contentstring, 1–10,000 charactersYes

Returns: the trimmed note.

update_lead_note

Replaces the text of an existing note.

ParameterTypeRequiredDescription
note_idIDYes
contentstring, 1–10,000 charactersYesThe new text.

Returns: the trimmed note.

Conversations

list_conversation_channels

Lists the messaging channels Zoie supports and what each needs.

Parameters: none.

Returns: Zoie’s channel list, unchanged.

get_conversation_by_lead

Fetches the message history with a lead.

ParameterTypeRequiredDescription
lead_idIDYes
record_typeenum: SMS, WhatsApp, Webchat, Instagram, FacebookMessengerNoOnly this channel. Leave it out for all channels.
business_idIDSee Business ID parameter

Returns: the thread, with each message trimmed to id, lead_id, record_type, direction, sender_type, sender_id, message_text, has_media and sent_at. message_text is cut to 1,000 characters, and media links are replaced by the has_media flag.

send_message

Sends a real message to a lead. It may cost money, and its own rate limit applies: 10 calls per minute per user, by default.

ParameterTypeRequiredDescription
channelenum: SMS, WhatsApp, Email, FacebookMessenger, InstagramYes
messagestring, 1–10,000 charactersYesThe message body.
lead_idIDOne of lead_id or toAn existing lead.
tostringOne of lead_id or toThe destination: an E.164 phone for SMS and WhatsApp, an email address for Email, an Instagram-scoped user ID for Instagram. If no lead_id is given, Zoie finds or creates the lead from it.
subjectstringFor EmailIgnored for other channels.
htmlstringNoHTML body for Email.
business_idIDSee Business ID parameter

Before calling Zoie, the tool refuses a call with neither lead_id nor to, a to in the wrong format for the channel, or an Email without subject.

Returns: Zoie’s send response, unchanged.

Appointments

Appointment records are leads trimmed to id, first_name, last_name, email, phone_number, lead_status, appointment_status, appointment_date_time, service, service_value, assigned_id, business_id and created_on, plus assigned_user_name when known.

appointment_calendar

Returns the appointments in a calendar window.

ParameterTypeRequiredDescription
viewenum: month, week, dayNoDefault month. Zoie snaps the range to the view.
startstringYesISO date for the start of the window, for example 2026-10-01.
endstringYesISO date for the end of the window.
business_idIDSee Business ID parameter

Returns: appointmentData, the appointments in the window, trimmed as above. If the window has no appointments, the result text is "".

appointment_overview

Returns appointment counts with the business’s upcoming and past appointments.

ParameterTypeRequiredDescription
searchstringNoNarrows the figures by free text.
business_idIDSee Business ID parameter

Returns: overview, with the counts total_appointments, total_noShow, confirmed_appointments, not_confirmed_appointments, today_appointments, today_confirmed_appointments, today_not_confirmed_appointments, total_appointments_ai, total_appointments_human, today_appointments_ai and today_appointments_human; and upcomingAppointments (confirmed, soonest first) and pastAppointments (most recent first).

list_appointment_leads

Lists leads that have an appointment.

ParameterTypeRequiredDescription
searchstringNoThe text or status to match.
searchTypeenum: status, lead, textNostatus matches search against the appointment status, lead against the lead status, text as free text.
pageinteger, min 1NoDefault 1.
limitinteger, 1–100NoDefault 20.
business_idIDSee Business ID parameter

Returns: the leads, trimmed as above.

Campaigns

Campaigns are trimmed to id, campaign_name, campaign_status, campaign_schedule (a UTC instant), campaign_schedule_tf (whether it is scheduled), campaign_chanels, campaign_sent_to, campaign_number_of_recipient, enable_ai and business_id. A campaign’s status is one of Scheduled, In progress, Executing, Paused, Finished or Failed.

Audience filters

preview_campaign_audience, create_campaign and update_campaign take filters, an array of filter objects:

FieldTypeRequiredDescription
fieldenum: status, label, type, source, assignee, phone, first_name, last_name, email, leadYesstatus is the lead status, label the labels, type the lead type, source the lead’s website source, assignee the assigned user, phone the phone number. lead picks specific leads.
conditionenum: is, is not, contains, does not contain, greater than, greater than or equal, less than, less than or equal, is after, is before, in, not in, between, is empty, is not emptyYes
valuestring, number, array of strings or numbers, or array of { "id": ID }Except for is empty and is not emptyFor lead, pass an array of { "id": … } objects. Use an array for in, not in and between.

Two filters on the same field with the same is, contains or in condition match either value; other combinations must all match. Leads who have opted out of the channel are always excluded.

[
  { "field": "status", "condition": "is", "value": "New" },
  { "field": "label", "condition": "contains", "value": "VIP" }
]

list_campaigns

Lists campaigns in the business.

ParameterTypeRequiredDescription
statusenum: All, In Progress, Completed, Scheduled, FailedNoDefault All.
typestringNoChannel, for example SMS or Email. Leave it out, or pass All, for every channel.
searchstringNoMatches the campaign name.
pageinteger, min 1NoDefault 1.
limitinteger, 1–100NoDefault 20.
business_idIDSee Business ID parameter

Returns: Zoie’s campaign list, unchanged.

get_campaign

Reads one campaign’s current state.

ParameterTypeRequiredDescription
campaign_idIDYes
business_idIDSee Business ID parameter

Returns: the trimmed campaign. For a scheduled campaign it adds schedule_business_local (the same moment as a wall clock in the business’s time zone, for example 2026-10-05T09:00:00) and timezone. An unknown ID returns the tool error Campaign 991 was not found.

preview_campaign_audience

Counts the leads a set of filters would reach, without creating anything.

ParameterTypeRequiredDescription
channelenum: sms, email, whatsapp, aicallYesOpt-outs are applied for this channel.
filtersarray of audience filters, min 1Yes
business_idIDSee Business ID parameter

Returns: channel, count and max_recipients (the cap create_campaign applies, 500 by default).

list_campaign_options

Looks up the IDs create_campaign needs.

ParameterTypeRequiredDescription
kindenum: ai_agents, whatsapp_templates, phone_numbers, whatsapp_senders, email_senders, email_templatesYes
business_idIDSee Business ID parameter

Returns: kind, business_id and up to 100 options:

kindEach option hasNotes
ai_agentsagent_id, agent_nameDemo agents are left out.
whatsapp_templatessid, friendly_name, language, variablesApproved templates only.
phone_numbersid, phone_number, provider_name, enable_ai_sms
whatsapp_senderssender_id, sid, phone_number, sender, statusOnline senders only.
email_sendersid, from_email, from_name, is_defaultSenders available to the user.
email_templatesid, template_name, subject

create_campaign

Creates an SMS, email, WhatsApp or AI call campaign that sends now or at a scheduled time. Real messages go out.

ParameterTypeRequiredDescription
campaign_namestring, 1–200 charactersYes
channelenum: sms, email, whatsapp, aicallYes
send_nowboolean, only trueExactly one of send_now or schedule_atSends within a minute.
schedule_atstringExactly one of send_now or schedule_atA wall clock in the business’s time zone, YYYY-MM-DDTHH:mm (seconds optional), 24-hour. A trailing Z or UTC offset is refused. Must be at least 5 minutes ahead.
filtersarray of audience filters, min 1YesTargeting every lead in the business isn’t allowed.
messagestring, up to 10,000 charactersFor smsThe body. For email, used when there’s no email_template_id. WhatsApp fallback text. Supports variables such as {{first_name}}.
from_phone_numberstringNoSMS or AI call from-number (kind: phone_numbers).
enable_aibooleanNoSMS only: let the AI agent handle replies.
agent_idstringFor aicallAI agent (kind: ai_agents). Optional for AI-enabled SMS.
email_subjectstring, up to 500 charactersFor email
email_template_idIDFor email, unless message is givenkind: email_templates.
from_emailstring, email formatNoSender address (kind: email_senders).
whatsapp_template_idstringFor whatsappApproved template content SID, starting HX (kind: whatsapp_templates).
whatsapp_template_namestringFor whatsapp
twilio_content_variablesobject of stringsNoTemplate variables, for example {"1": "July offer"}.
sms_from_phone_idIDNoWhatsApp sender (kind: whatsapp_senders).
business_idIDSee Business ID parameter

Before creating anything, the tool:

  1. Checks that exactly one of send_now and schedule_at is given, and that the channel’s required fields are present.
  2. For schedule_at, reads the business’s time zone and converts the wall clock to an instant, allowing for daylight saving on that date. A business with no valid time zone can’t schedule — the tool asks for it to be set in Zoie, or for send_now.
  3. Previews the audience and refuses 0 leads or more than the cap (500 by default).

Returns: campaign (trimmed), audience_count, scheduled_for (business_local, timezone, utc) for scheduled campaigns, and a note. A send-now campaign is In progress; a scheduled one is Scheduled.

update_campaign

Renames, reschedules, rewrites or retargets an existing campaign. Rescheduling a Scheduled campaign to a later time is also how to postpone it.

ParameterTypeRequiredDescription
campaign_idIDYes
campaign_namestring, 1–200 charactersNo
schedule_atstringNoSame format and rules as in create_campaign.
filtersarray of audience filters, min 1NoReplaces the audience. Requires channel.
channelenum: sms, email, whatsapp, aicallWith filtersThe campaign’s channel, used to preview the new audience.
messagestring, up to 10,000 charactersNo
email_subjectstring, up to 500 charactersNo
business_idIDSee Business ID parameter

At least one of campaign_name, schedule_at, filters, message or email_subject is required. The tool reads the campaign first and keeps its current schedule and AI setting unless you change them, refuses a campaign that belongs to another business, and previews and caps a new audience. It never restarts a Paused campaign — use resume_campaign or start_campaign.

Returns: campaign (trimmed) and, when rescheduled, scheduled_for and a note.

start_campaign

Starts an existing campaign now.

ParameterTypeRequiredDescription
campaign_idIDYes
business_idIDSee Business ID parameter
Current statusResult
ScheduledThe schedule moves to now and sending starts within a minute.
PausedThe campaign resumes.
In progress, ExecutingNothing changes. Returns started: false.
Finished, FailedRefused. Create a new campaign instead.

Campaigns recorded with more recipients than the cap (500 by default) are refused, and so are campaigns from another business.

Returns: campaign (trimmed), started, previous_status and a note.

pause_campaign

Pauses a running campaign. Sending stops until it is resumed.

ParameterTypeRequiredDescription
campaign_idIDYes

Returns: Zoie’s response, unchanged.

resume_campaign

Resumes a paused campaign.

ParameterTypeRequiredDescription
campaign_idIDYes

Returns: Zoie’s response, unchanged.

What there are no tools for

There are no tools to book, reschedule or cancel appointments, read call logs or recordings, place calls, run reports, delete records, or change settings, AI agents, phone numbers, users or billing. See What there are no tools for in the MCP guides.