hermosodocs

manage_whatsapp_calling

WhatsApp calls destructive

Area: WHATSAPP BUSINESS · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

Description

WhatsApp CALLS on one business number. "get_settings" reads them; "update_settings" changes only what you pass: enabled (needs a messaging limit of 2,000+), callButton "show" | "hide", callButtonCountries (two-letter codes), callHours { timezone, weekly: [{ day: "MONDAY", open: "09:00", close: "17:00" }] (≤2 a day), holidays: [{ date, start, end }] (≤20) } or false for any time, callbackPermission (callers can allow you to call back), permissionMode "approved_only" | "unless_revoked", sip { hostname, port (5061), uriParams, webhooks } to hand every call to your own SIP server or AI voice agent, or false. "permission" (to): does this person allow calls, and can you ask or call now. "request_permission" (to, text): asks them inside the 24-hour window (1 a day, 2 a week). "recent_calls": calls in the last 48 hours, missed or answered, with length; each also lands in read_whatsapp_inbox and the whatsapp.call alert. "call" (to, sdp) and "accept" / "pre_accept" (callId, sdp) need your own WebRTC app's SDP; "reject" / "end" (callId) stop a call; record:true with recordingPurpose (≤250, read aloud to both people) and recordingLanguage records a call you place or accept. "recording" (callId): that audio, kept 7 days by Meta. "estimate" (to or country, minutes): Meta's per-minute rate for a call the business places. update_settings, request_permission and call take confirm:true after a first call without it. Meta bills the business for calls it places (not US, Canada, Egypt, Vietnam or Nigeria numbers); calls to the business are free. 0 credits.

Parameters

ParameterTypeDescription
phoneNumberIdrequiredstringthe number, from list_whatsapp_accounts
action"get_settings" | "update_settings" | "permission" | "request_permission" | "recent_calls" | "call" | "pre_accept" | "accept" | "reject" | "end" | "estimate" | "recording"get_settings (default)
countrystringestimate: two-letter code, instead of to
minutesnumberestimate: call length (default 1)
recordbooleancall / accept: record this call
recordingPurposestring
recordingLanguagestringe.g. en_US, es, pt, hi
enabledboolean
callButton"show" | "hide"
callButtonCountriesstring[]
callHoursobject | boolean | null{ timezone: "America/Toronto", weekly: [{ day, open, close }], holidays?: [{ date: "YYYY-MM-DD", start, end }] }, or false
callHours.timezonestring
callHours.weeklyobject[]
callHours.holidaysobject[]
callbackPermissionboolean
permissionMode"approved_only" | "unless_revoked"
sipobject | boolean{ hostname, port?, uriParams?, webhooks? } (TLS host of your SIP server or voice agent), or false
sip.hostnamestring
sip.portnumber | string
sip.uriParamsobject
sip.webhooksboolean
audioCodecsstring[]extra codecs: PCMA, PCMU (Opus is always on)
revealSipPasswordbooleanget_settings: include the SIP password your server authenticates with
tostringpermission / request_permission / call: phone in international form or business-scoped user id
textstringrequest_permission: why you want to call (optional, ≤1024)
callIdstringaccept / pre_accept / reject / end: the wacid. id from action recent_calls or the alert
sdpstringcall: your WebRTC SDP offer; accept / pre_accept: your SDP answer
trackingDatastring
limitnumber
confirmboolean

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/manage_whatsapp_calling.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"manage_whatsapp_calling","arguments":{"phoneNumberId":"<string>"}}}

CLI

hermoso call manage_whatsapp_calling --json '{"phoneNumberId":"<string>"}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 728 Publishing & scheduling tools · tools.json