manage_whatsapp_calling
WhatsApp calls destructive
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
| Parameter | Type | Description |
|---|---|---|
phoneNumberIdrequired | string | the 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) |
country | string | estimate: two-letter code, instead of to |
minutes | number | estimate: call length (default 1) |
record | boolean | call / accept: record this call |
recordingPurpose | string | |
recordingLanguage | string | e.g. en_US, es, pt, hi |
enabled | boolean | |
callButton | "show" | "hide" | |
callButtonCountries | string[] | |
callHours | object | boolean | null | { timezone: "America/Toronto", weekly: [{ day, open, close }], holidays?: [{ date: "YYYY-MM-DD", start, end }] }, or false |
callHours.timezone | string | |
callHours.weekly | object[] | |
callHours.holidays | object[] | |
callbackPermission | boolean | |
permissionMode | "approved_only" | "unless_revoked" | |
sip | object | boolean | { hostname, port?, uriParams?, webhooks? } (TLS host of your SIP server or voice agent), or false |
sip.hostname | string | |
sip.port | number | string | |
sip.uriParams | object | |
sip.webhooks | boolean | |
audioCodecs | string[] | extra codecs: PCMA, PCMU (Opus is always on) |
revealSipPassword | boolean | get_settings: include the SIP password your server authenticates with |
to | string | permission / request_permission / call: phone in international form or business-scoped user id |
text | string | request_permission: why you want to call (optional, ≤1024) |
callId | string | accept / pre_accept / reject / end: the wacid. id from action recent_calls or the alert |
sdp | string | call: your WebRTC SDP offer; accept / pre_accept: your SDP answer |
trackingData | string | |
limit | number | |
confirm | boolean |
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.
Related tools
get_settingsRead app settingsupdate_settingsChange app settingsread_whatsapp_inboxRead and answer WhatsApp messagesmanage_whatsapp_flowWhatsApp forms (Flows)manage_whatsapp_accountWhatsApp account: notices, costs, catalog, ad conversionsmanage_whatsapp_numberWhatsApp number settings, blocklist and groupssend_whatsapp_broadcastBroadcast a WhatsApp template to many peoplesend_whatsapp_messageSend a WhatsApp messagedelete_whatsapp_templateDelete a WhatsApp message templatecreate_whatsapp_templateCreate a WhatsApp message template