manage_whatsapp_ai_agent
Meta Business Agent on WhatsApp destructive
Description
META'S OWN AI AGENT on the brand's WhatsApp number (Meta hosts it and bills the business about 4-5 cents a message; Hermoso charges nothing). action: status (default: eligibility, on/off, knowledge counts, budget), eligibility, onboard, get_settings, update_settings {enabled, audience everyone|allowlisted, handoff {enabled, message, messageSelection}, followup {enabled, intervalSeconds, message}, neverSay[]}, get_business_info / set_business_info {businessInfo: {description, paymentMethods, returnPolicy, purchaseInfo, shipping, contact {email, hours, address}}} / clear_business_info, list_faqs / add_faq / update_faq / delete_faq {id, question, answer}, list_websites / add_website / update_website / delete_website {url, singleUrls[], includedUrlPatterns[] ...}, list_files / upload_file {url, fileName: pdf, doc, docx, png, jpg} / delete_file, list_skills / add_skill / update_skill / delete_skill {title, description, skill}, list_connectors / add_connector / update_connector / delete_connector {name, description, baseUrl, protocol HTTP|MCP, authType, authConfig}, connector_api_key / connector_oauth {id, authConfig} / connector_certificate {id, clientCertificate, clientKey, caCertificate: PEM, mTLS} / refresh_connector_tools / connector_logs {id}, CONNECTOR TOOLS (the operations an HTTP connector lets the agent call, e.g. order status): list_connector_tools / get_connector_tool / add_connector_tool / update_connector_tool (only what changes) / delete_connector_tool / run_connector_tool {connectorId, toolId, name, description, requestDefinition {method, path "/orders/{order_id}", path_parameters, query_parameters, headers, body {params, required}}, userAuthRequired, transformationSpec, input} (a run calls the business's API for real; non-GET tools need confirm:true), UI SKILLS (when the agent answers with a rich message): list_ui_skills / get_ui_skill / add_ui_skill {title, componentType cta_url|image|carousel_url|carousel_quick_reply|carousel_multi_quick_reply|interactive_list|interactive_reply_buttons|location|location_request|flow|catalog_message|multi_product|document|video, instruction, status enabled|disabled, flowId} / update_ui_skill {id, title, status, instruction} / delete_ui_skill, EVALUATIONS (Meta simulates and scores conversations, no customer is messaged): list_eval_cases / run_eval {evalCaseIds} / get_eval_run {jobId} / get_eval_summary {summaryIds} / get_eval_details {evalIds}, list_allowlist / allow {phone|bsuid} / disallow {id}, get_budget / set_budget {budgets: [{unit token|ai_turn, days 1|7|14|30, max}]}, test {message, conversationId} (not billed by Meta), send_event {to, type, description, payload}, get_event {id}, thread_control {to, control take|release|pass, metadata}, delete_agent. Deletes and turning it on for everyone need confirm:true. The business must first accept the Meta Business Agent terms in WhatsApp Manager, and add a payment method in Billing Hub before audience everyone. For Hermoso's own AI on WhatsApp, Instagram, Facebook and comments instead, use set_ai_replies.
Parameters
| Parameter | Type | Description |
|---|---|---|
action | "status" | "eligibility" | "onboard" | "get_settings" | "update_settings" | "get_business_info" | "set_business_info" | "clear_business_info" | "list_faqs" | "add_faq" | "update_faq" | "delete_faq" | "list_websites" | "add_website" | "update_website" | "delete_website" | "list_files" | "upload_file" | "delete_file" | "list_skills" | "add_skill" | "update_skill" | "delete_skill" | "list_connectors" | "add_connector" | "update_connector" | "delete_connector" | "connector_api_key" | "connector_oauth" | "connector_certificate" | "refresh_connector_tools" | "connector_logs" | "list_connector_tools" | "get_connector_tool" | "add_connector_tool" | "update_connector_tool" | "delete_connector_tool" | "run_connector_tool" | "list_ui_skills" | "get_ui_skill" | "add_ui_skill" | "update_ui_skill" | "delete_ui_skill" | "list_eval_cases" | "run_eval" | "get_eval_run" | "get_eval_summary" | "get_eval_details" | "list_allowlist" | "allow" | "disallow" | "get_budget" | "set_budget" | "test" | "send_event" | "get_event" | "thread_control" | "delete_agent" | |
phoneNumberId | string | the WhatsApp number id (list_whatsapp_accounts); optional when the brand has one |
id | string | |
enabled | boolean | |
audience | "everyone" | "allowlisted" | |
handoff | object | |
followup | object | |
neverSay | string[] | |
businessInfo | object | |
question | string | |
answer | string | |
url | string | |
fileName | string | |
singleUrls | string[] | |
includedUrlPatterns | string[] | |
excludedUrlPatterns | string[] | |
includedSubDomains | string[] | |
excludedSubDomains | string[] | |
title | string | |
description | string | |
skill | string | |
name | string | |
baseUrl | string | |
protocol | "HTTP" | "MCP" | |
authType | string | |
authConfig | object | |
limit | number | |
phone | string | |
bsuid | string | |
budgets | object[] | |
budgets[].unitrequired | "token" | "ai_turn" | |
budgets[].daysrequired | number | |
budgets[].maxrequired | number | |
budgets[].id | string | |
budgets[].startDate | string | |
budgets[].endDate | string | |
message | string | |
conversationId | string | |
to | string | |
type | string | |
payload | string | object | |
control | "take" | "release" | "pass" | |
metadata | string | |
targetRole | string | |
catalogId | string | |
clientCertificate | string | connector_certificate: PEM client certificate |
clientKey | string | connector_certificate: PEM private key (never shown back) |
caCertificate | string | |
connectorId | string | connector tools: the HTTP connector (list_connectors) |
toolId | string | |
requestDefinition | object | {method GET|POST|PUT|DELETE|PATCH, path with {placeholders}, path_parameters / query_parameters / headers: {name: {type, description, required, binding?}}, body: {params: {field: {type, description, properties?, items?}}, required: []}} |
userAuthRequired | boolean | |
userAuthActionConfig | object | |
transformationSpec | object | null | {version: 1, steps: [{kind, target, params}]} (≤5), null removes it |
input | string | object | run_connector_tool: the tool arguments |
after | string | |
componentType | string | |
instruction | string | |
status | "enabled" | "disabled" | |
flowId | string | |
evalCaseIds | string[] | |
jobId | string | |
summaryIds | string[] | |
evalIds | string[] | |
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_ai_agent.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"manage_whatsapp_ai_agent","arguments":{}}}
CLI
hermoso call manage_whatsapp_ai_agent --json '{}'
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 settingsupload_fileUpload a local file -> durable public URLlist_skillsList skillsdelete_skillDelete a custom skilllist_connectorsList connectorsset_ai_repliesAI auto-replies: settingsundo_ai_replyAI auto-replies: remove a replytest_ai_replyAI auto-replies: try a messagelist_ai_repliesAI auto-replies: log