hermosodocs

manage_whatsapp_ai_agent

Meta Business Agent on WhatsApp destructive

Area: AI AUTO-REPLIES · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
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"
phoneNumberIdstringthe WhatsApp number id (list_whatsapp_accounts); optional when the brand has one
idstring
enabledboolean
audience"everyone" | "allowlisted"
handoffobject
followupobject
neverSaystring[]
businessInfoobject
questionstring
answerstring
urlstring
fileNamestring
singleUrlsstring[]
includedUrlPatternsstring[]
excludedUrlPatternsstring[]
includedSubDomainsstring[]
excludedSubDomainsstring[]
titlestring
descriptionstring
skillstring
namestring
baseUrlstring
protocol"HTTP" | "MCP"
authTypestring
authConfigobject
limitnumber
phonestring
bsuidstring
budgetsobject[]
budgets[].unitrequired"token" | "ai_turn"
budgets[].daysrequirednumber
budgets[].maxrequirednumber
budgets[].idstring
budgets[].startDatestring
budgets[].endDatestring
messagestring
conversationIdstring
tostring
typestring
payloadstring | object
control"take" | "release" | "pass"
metadatastring
targetRolestring
catalogIdstring
clientCertificatestringconnector_certificate: PEM client certificate
clientKeystringconnector_certificate: PEM private key (never shown back)
caCertificatestring
connectorIdstringconnector tools: the HTTP connector (list_connectors)
toolIdstring
requestDefinitionobject{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: []}}
userAuthRequiredboolean
userAuthActionConfigobject
transformationSpecobject | null{version: 1, steps: [{kind, target, params}]} (≤5), null removes it
inputstring | objectrun_connector_tool: the tool arguments
afterstring
componentTypestring
instructionstring
status"enabled" | "disabled"
flowIdstring
evalCaseIdsstring[]
jobIdstring
summaryIdsstring[]
evalIdsstring[]
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_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.

All 728 Publishing & scheduling tools · tools.json