Endpoints: 76,849MCP servers: 32,728Payout addresses: 3,825Paid calls: 6,140Letters: 84Defects: 3,890counted 1 min ago
teppi

Server definition

Hash
sha256:97dcabc65e6611b8c319828afc773c8d3493a0749007d5e8c5225e5a4a2a79b8
What it is
What a remote MCP server returned when asked what it offers: 135 tools

The blob, as servednamed by its sha256

{ "instructions": "360Dialog MCP Server exposes 360Dialog Hub, Meta Business Agent, and Sandbox tools for managing accounts, phone numbers/channels,\ntemplates, balance, diagnostics, sandbox messaging, and configuring Meta Business Agent. It also exposes inbox tools, which can be used by clients on the premium plan.\n\nKey rules:\n- Use 'list_skills' to find workflows that can help assist the user with their question or issue.\n- Use documentation tools for WhatsApp API and WhatsApp Business Platform questions.\n- Use 'get_self' first to identify the logged-in user, account scope, client ID, partner ID, and permissions.\n- Use 'inbox_list_inboxes' to see if the user has access to any inboxes.\nIf the user does not have an inbox, all other inbox tool calls will fail.\n- Use 'list_channels' to find onboarded phone numbers/channels and their client, partner, WABA, project, and channel IDs.\n- The user is logged into one account at a time and can only act within that account. Partners can manage client channels; clients can manage only their own channels.\n- Payment responsibility depends on partner setup: direct-paid clients pay invoices/top up balance themselves; partner-paid clients rely on the partner to handle invoices and balance.\n- Sandbox is separate from Hub. Users can register a personal number and send test messages from the sandbox WhatsApp account; sandbox numbers only work with 'sandbox_' tools.\n- Meta Business Agent is set up per-channel/phone number. Tools starting with 'mba_' are dedicated to the Meta Business Agent.", "tools": [ { "description": "Block WhatsApp users from messaging a channel.\n\nIdentify each user by phone number or by BSUID; pass at least one of 'phone_numbers' and 'user_ids'.\n\nOnly a business can block users who recently messaged it, so some users can fail. The result lists which succeeded and which failed with the reason.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+ch$", "type": "string" }, "phone_numbers": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Phone numbers of the WhatsApp users to block, in international format without '+' or spaces, for example ['49100100200']." }, "user_ids": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Business-scoped user IDs (BSUIDs) of the WhatsApp users to block, for users whose phone number isn't known. 'list_blocked_users' shows each blocked user's BSUID." } }, "required": [ "channel_id" ], "type": "object" }, "name": "block_users", "outputSchema": { "properties": { "channel_id": { "type": "string" }, "failed": { "items": { "properties": { "input": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "reasons": { "items": { "type": "string" }, "type": "array" } }, "required": [ "reasons" ], "type": "object" }, "type": "array" }, "succeeded": { "items": { "type": "string" }, "type": "array" } }, "required": [ "channel_id", "succeeded", "failed" ], "type": "object" } }, { "description": "Change the role of an existing user of the account. Users cannot change their own role.\n\nClient users change users of their own client account, partner users users of the partner account.\n\nThe user may be prompted by 360Dialog for an OTP code delivered to their email address.", "inputSchema": { "additionalProperties": false, "properties": { "role": { "description": "New role. 'partner-owner' or 'partner-member' on a partner account, 'client-owner' or 'client-member' on a client account.", "enum": [ "partner-owner", "partner-member", "client-owner", "client-member" ], "type": "string" }, "user_id": { "description": "Needs to end with 'U'. Use 'list_users' to find a user's ID.", "maxLength": 7, "minLength": 7, "pattern": "(?i)^[a-z0-9]+u$", "type": "string" } }, "required": [ "role", "user_id" ], "type": "object" }, "name": "change_user_role", "outputSchema": { "properties": { "account": { "type": "string" }, "changed": { "type": "boolean" }, "message": { "type": "string" }, "role": { "type": "string" }, "user_id": { "type": "string" } }, "required": [ "changed", "user_id", "role", "account", "message" ], "type": "object" } }, { "description": "Check whether a phone number can be onboarded for this client before handing over the onboarding link.\n\nThis tool only checks 360Dialog's own database and this client's channel quota. It does not ask\nWhatsApp/Meta anything, so a number already active on WhatsApp elsewhere (including the personal\napp) can still come back eligible here.", "inputSchema": { "additionalProperties": false, "properties": { "check_coex": { "default": false, "description": "Set to true if the phone number to check is currently on the WhatsApp Business app (not to be confused with the normal, personal, WhatsApp app.) WhatsApp Business app numbers can be onboarded to the API as well using WhatsApp Coexistence", "type": "boolean" }, "phone_number": { "description": "The phone number to check", "format": "phone", "type": "string" } }, "required": [ "phone_number" ], "type": "object" }, "name": "check_number_eligibility", "outputSchema": { "properties": { "checked": { "type": "boolean" }, "checks": { "anyOf": [ { "properties": { "coex_eligible": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "internal_database": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "migration_possible": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "cta_action": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "eligibility_status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "eligible": { "default": false, "type": "boolean" }, "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "checked" ], "type": "object" } }, { "description": "Request that the client's numbers move to a new partner. The new partner has to approve the request; then the\nnumbers are moved, which changes who manages them and who is billed.\n\nALWAYS call 'preview_partner_change_request' first with the same arguments, show its result to the user and\nget their confirmation before calling this tool. This tool also runs the preview itself and does NOT create the\nrequest when the preview finds issues; it then returns the issues instead.\n\nThe user may be prompted by 360Dialog for an OTP code delivered to their email address.", "inputSchema": { "additionalProperties": false, "properties": { "channel_bundles": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Which payment plan (bundle) of the new partner a number moves onto. Needed when the new partner bills clients.", "properties": { "bundle_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "ID of the new partner's payment plan for this number." }, "channel_id": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^.*ch$", "type": "string" } }, "required": [ "channel_id" ], "type": "object" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Optional. Which payment plan of the new partner each number moves onto. Only needed when the new partner bills its clients." }, "channel_ids": { "description": "IDs of the numbers (channels) to move. Use 'list_channels' to find them. All numbers of a WABA have to move together.", "items": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^.*ch$", "type": "string" }, "minItems": 1, "type": "array" }, "target_client_id": { "anyOf": [ { "maxLength": 10, "minLength": 10, "pattern": "(?i)^.*cl$", "type": "string" }, { "type": "null" } ], "default": null, "description": "Optional. ID of an existing client at the new partner to move the numbers into. Only for a partial move (not all numbers of the client). Needs to end with 'CL'." }, "target_partner_id": { "description": "ID of the partner the numbers should move to. Needs to end with 'PA'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^.*pa$", "type": "string" } }, "required": [ "target_partner_id", "channel_ids" ], "type": "object" }, "name": "create_partner_change_request", "outputSchema": { "properties": { "actions_required": { "items": { "properties": { "action_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "metadata": { "additionalProperties": true, "default": {}, "type": "object" }, "type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "type": "array" }, "created": { "type": "boolean" }, "message": { "type": "string" }, "preview_ready": { "type": "boolean" }, "request": { "anyOf": [ { "properties": { "client_contact_email": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "client_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "created_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "error_details": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "default": null }, "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "is_full_migration": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "migrated_channels": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "modified_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "rejection_reason": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "source_client_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "source_partner_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "target_client_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "target_partner_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "created", "preview_ready", "actions_required", "message" ], "type": "object" } }, { "description": "Use this tool to create a WhatsApp message template.\n\nFor this tool's 'template_json' property, pass a JSON matching this shape:\n\n{\n \"name\": string,\n \"language\": string,\n \"category\": \"MARKETING\" | \"AUTHENTICATION\" | \"UTILITY\",\n \"components\": Component[],\n}\n\nGeneral rules:\n- name must be lowercase snake_case.\n- category must be uppercase.\n- language must be a WhatsApp locale code such as \"en_US\", \"tr\", \"es\", \"pt_BR\".\n- Only include fields supported by the component variant.\n- Do not include null fields.\n- Components should normally be ordered as:\n 1. header, if any\n 2. body\n 3. footer, if any\n 4. buttons, if any\n- A template can have at most one header, one body, one footer, and one buttons component.\n- BODY is required unless the user is clearly creating a special authentication template handled elsewhere.\n- HEADER and FOOTER are optional.\n- BUTTONS are optional.\n\nComponent variants:\n\n1. Text header without variables\n\n{\n \"type\": \"HEADER\",\n \"format\": \"text\",\n \"text\": \"Your order update\"\n}\n\nUse this when the header is plain text.\n\n2. Text header with variables\n\n{\n \"type\": \"HEADER\",\n \"format\": \"TEXT\",\n \"text\": \"Hi {{1}}\",\n \"example\": {\n \"header_text\": [\"Alice\"]\n }\n}\n\nRules:\n- Text header supports template variables.\n- If text contains variables, include example.header_text.\n- The example array must contain sample values in the same order as the variables appear.\n- For named parameters, the placeholder names appear in text, but the examples are still values.\n\n3. Image header\n\n{\n \"type\": \"HEADER\",\n \"format\": \"IMAGE\",\n \"example\": {\n \"header_handle\": [\"https://example.com/sample-image.jpg\"]\n }\n}\n\nUse this when the template header should contain an image.\nThe example should be a sample image handle or URL when available.\n\n4. Video header\n\n{\n \"type\": \"HEADER\",\n \"format\": \"VIDEO\",\n \"example\": {\n \"header_handle\": [\"https://example.com/sample-video.mp4\"]\n }\n}\n\nUse this when the template header should contain a video.\nThe example should be a sample video handle or URL when available.\n\n5. Document header\n\n{\n \"type\": \"HEADER\",\n \"format\": \"DOCUMENT\",\n \"example\": {\n \"header_handle\": [\"https://example.com/sample-document.pdf\"]\n }\n}\n\nUse this when the template header should contain a document.\nThe example should be a sample document handle or URL when available.\n\n6. Location header\n\n{\n \"type\": \"HEADER\",\n \"format\": \"LOCATION\"\n}\n\nUse this when the template should display a location/map header.\n\nImportant:\n- For template creation, LOCATION is only the header format.\n- Do not put latitude, longitude, address, or name in the template creation component.\n- The actual location values are supplied later when sending the approved template, not when creating the template.\n\n7. Body without variables\n\n{\n \"type\": \"BODY\",\n \"text\": \"Your order has shipped and is on the way.\"\n}\n\nUse this for the main message text.\n\n8. Body with variables\n\n{\n \"type\": \"BODY\",\n \"text\": \"Hi {{1}}, your order {{2}} has shipped.\",\n \"example\": {\n \"body_text\": [\n [\"Alice\", \"ORD-12345\"]\n ]\n }\n}\n\nRules:\n- If body text contains variables, include example.body_text.\n- body_text is an array containing one array of sample values.\n- The inner array values must match the variables in order of appearance.\n- Use placeholders like {{1}}, {{2}}.\n\n9. Footer\n\n{\n \"type\": \"FOOTER\",\n \"text\": \"Reply STOP to unsubscribe.\"\n}\n\nRules:\n- Footer is plain text only.\n- Do not use variables in footer text.\n\n10. Buttons wrapper\n\n{\n \"type\": \"BUTTONS\",\n \"buttons\": [\n Button\n ]\n}\n\nRules:\n- Buttons must be inside a single component whose type is \"BUTTONS\".\n- Do not place button objects directly in components.\n- Button text should be short and action-oriented.\n\nButton variants:\n\nA. Quick reply button\n\n{\n \"type\": \"QUICK_REPLY\",\n \"text\": \"Confirm\"\n}\n\nUse when the user should tap a predefined reply.\n\nB. Phone number button\n\n{\n \"type\": \"PHONE_NUMBER\",\n \"text\": \"Call us\",\n \"phone_number\": \"+15551234567\"\n}\n\nUse when the user should call a business phone number.\nphone_number must include country code.\n\nC. Static URL button\n\n{\n \"type\": \"URL\",\n \"text\": \"View order\",\n \"url\": \"https://example.com/orders\"\n}\n\nUse when the button always opens the same URL.\n\nD. Dynamic URL button\n\n{\n \"type\": \"URL\",\n \"text\": \"View order\",\n \"url\": \"https://example.com/orders/{{1}}\",\n \"example\": [\"ORD-12345\"]\n}\n\nRules:\n- Use this when the final URL path or query contains a variable.\n- The example array contains the sample value for the dynamic URL part.\n\nE. Copy code button\n\n{\n \"type\": \"COPY_CODE\",\n \"example\": \"SAVE20\"\n}\n\nUse for coupon or promo-code templates.\nThe button copies the provided code when the template is sent.\n\nG. OTP button\n\n{\n \"type\": \"OTP\",\n \"otp_type\": \"COPY_CODE\",\n \"text\": \"Copy code\"\n}\n\nFor one-tap OTP:\n\n{\n \"type\": \"OTP\",\n \"otp_type\": \"ONE_TAP\",\n \"text\": \"Copy code\",\n \"autofill_text\": \"Autofill\",\n \"package_name\": \"com.example.app\",\n \"signature_hash\": \"abc123\"\n}\n\nRules:\n- Use OTP buttons only for authentication templates - category should be \"AUTHENTICATION\". Authentication templates can only be created for WABAs that have a 2,000 messaging limit or above.\n- Do not use marketing or utility wording in authentication templates.\n\nExamples:\n\nUtility order update with named parameters:\n\n{\n \"name\": \"order_shipped_update\",\n \"language\": \"en_US\",\n \"category\": \"UTILITY\",\n \"components\": [\n {\n \"type\": \"HEADER\",\n \"format\": \"TEXT\",\n \"text\": \"Order {{1}} update\",\n \"example\": {\n \"header_text\": [[\"ORD-12345\"]]\n }\n },\n {\n \"type\": \"BODY\",\n \"text\": \"Hi {{1}}, your order has shipped and should arrive by {{2}}.\",\n \"example\": {\n \"body_text\": [\n [\"Alice\", \"Friday\"]\n ]\n }\n },\n {\n \"type\": \"FOOTER\",\n \"text\": \"Thank you for shopping with us.\"\n },\n {\n \"type\": \"BUTTONS\",\n \"buttons\": [\n {\n \"type\": \"URL\",\n \"text\": \"Track order\",\n \"url\": \"https://example.com/orders/{{1}}\",\n \"example\": [\"ORD-12345\"]\n }\n ]\n }\n ]\n}\n\nUtility store location template:\n\n{\n \"name\": \"store_location_info\",\n \"language\": \"en_US\",\n \"category\": \"UTILITY\",\n \"components\": [\n {\n \"type\": \"HEADER\",\n \"format\": \"location\"\n },\n {\n \"type\": \"BODY\",\n \"text\": \"Hi {{1}}, here is the location of our {{2}} store.\",\n \"example\": {\n \"body_text\": [\n [\"Alice\", \"Downtown\"]\n ]\n }\n }\n ]\n}", "inputSchema": { "additionalProperties": false, "properties": { "template_json": { "additionalProperties": false, "description": "The template's JSON.", "properties": { "category": { "enum": [ "MARKETING", "AUTHENTICATION", "UTILITY" ], "type": "string" }, "components": { "items": { "anyOf": [ { "additionalProperties": false, "properties": { "format": { "const": "TEXT", "default": "TEXT", "type": "string" }, "text": { "type": "string" }, "type": { "const": "HEADER", "default": "HEADER", "type": "string" } }, "required": [ "text" ], "type": "object" }, { "additionalProperties": false, "properties": { "example": { "additionalProperties": false, "properties": { "body_text": { "anyOf": [ { "items": { "items": { "type": "string" }, "type": "array" }, "type": "array" }, { "type": "null" } ], "default": null }, "header_handle": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "header_text": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null } }, "type": "object" }, "format": { "const": "TEXT", "default": "TEXT", "type": "string" }, "text": { "type": "string" }, "type": { "const": "HEADER", "default": "HEADER", "type": "string" } }, "required": [ "text", "example" ], "type": "object" }, { "additionalProperties": false, "properties": { "example": { "anyOf": [ { "additionalProperties": false, "properties": { "body_text": { "anyOf": [ { "items": { "items": { "type": "string" }, "type": "array" }, "type": "array" }, { "type": "null" } ], "default": null }, "header_handle": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "header_text": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "format": { "const": "IMAGE", "default": "IMAGE", "type": "string" }, "type": { "const": "HEADER", "default": "HEADER", "type": "string" } }, "type": "object" }, { "additionalProperties": false, "properties": { "example": { "anyOf": [ { "additionalProperties": false, "properties": { "body_text": { "anyOf": [ { "items": { "items": { "type": "string" }, "type": "array" }, "type": "array" }, { "type": "null" } ], "default": null }, "header_handle": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "header_text": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "format": { "const": "VIDEO", "default": "VIDEO", "type": "string" }, "type": { "const": "HEADER", "default": "HEADER", "type": "string" } }, "type": "object" }, { "additionalProperties": false, "properties": { "example": { "anyOf": [ { "additionalProperties": false, "properties": { "body_text": { "anyOf": [ { "items": { "items": { "type": "string" }, "type": "array" }, "type": "array" }, { "type": "null" } ], "default": null }, "header_handle": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "header_text": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "format": { "const": "DOCUMENT", "default": "DOCUMENT", "type": "string" }, "type": { "const": "HEADER", "default": "HEADER", "type": "string" } }, "type": "object" }, { "additionalProperties": false, "properties": { "format": { "const": "LOCATION", "default": "LOCATION", "type": "string" }, "type": { "const": "HEADER", "default": "HEADER", "type": "string" } }, "type": "object" }, { "additionalProperties": false, "properties": { "text": { "type": "string" }, "type": { "const": "BODY", "default": "BODY", "type": "string" } }, "required": [ "text" ], "type": "object" }, { "additionalProperties": false, "properties": { "example": { "additionalProperties": false, "properties": { "body_text": { "anyOf": [ { "items": { "items": { "type": "string" }, "type": "array" }, "type": "array" }, { "type": "null" } ], "default": null }, "header_handle": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "header_text": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null } }, "type": "object" }, "text": { "type": "string" }, "type": { "const": "BODY", "default": "BODY", "type": "string" } }, "required": [ "text", "example" ], "type": "object" }, { "additionalProperties": false, "properties": { "text": { "type": "string" }, "type": { "const": "FOOTER", "default": "FOOTER", "type": "string" } }, "required": [ "text" ], "type": "object" }, { "additionalProperties": false, "properties": { "limited_time_offer": { "additionalProperties": false, "properties": { "has_expiration": { "type": "boolean" }, "text": { "type": "string" } }, "required": [ "text", "has_expiration" ], "type": "object" }, "type": { "const": "LIMITED_TIME_OFFER", "default": "LIMITED_TIME_OFFER", "type": "string" } }, "required": [ "limited_time_offer" ], "type": "object" }, { "additionalProperties": false, "properties": { "buttons": { "items": { "anyOf": [ { "additionalProperties": false, "properties": { "text": { "type": "string" }, "type": { "const": "QUICK_REPLY", "default": "QUICK_REPLY", "type": "string" } }, "required": [ "text" ], "type": "object" }, { "additionalProperties": false, "properties": { "phone_number": { "type": "string" }, "text": { "type": "string" }, "type": { "const": "PHONE_NUMBER", "default": "PHONE_NUMBER", "type": "string" } }, "required": [ "text", "phone_number" ], "type": "object" }, { "additionalProperties": false, "properties": { "example": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "text": { "type": "string" }, "type": { "const": "URL", "default": "URL", "type": "string" }, "url": { "type": "string" } }, "required": [ "text", "url" ], "type": "object" }, { "additionalProperties": false, "properties": { "example": { "type": "string" }, "type": { "const": "COPY_CODE", "default": "COPY_CODE", "type": "string" } }, "required": [ "example" ], "type": "object" }, { "additionalProperties": false, "properties": { "flow_action": { "default": "NAVIGATE", "enum": [ "NAVIGATE", "DATA_EXCHANGE" ], "type": "string" }, "flow_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "flow_json": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "flow_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "navigate_screen": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "text": { "type": "string" }, "type": { "const": "FLOW", "default": "FLOW", "type": "string" } }, "required": [ "text" ], "type": "object" }, { "additionalProperties": false, "properties": { "autofill_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "otp_type": { "enum": [ "COPY_CODE", "ONE_TAP", "ZERO_TAP" ], "type": "string" }, "package_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "signature_hash": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "type": { "const": "OTP", "default": "OTP", "type": "string" } }, "required": [ "otp_type" ], "type": "object" } ] }, "type": "array" }, "type": { "const": "BUTTONS", "default": "BUTTONS", "type": "string" } }, "required": [ "buttons" ], "type": "object" } ] }, "type": "array" }, "language": { "type": "string" }, "name": { "type": "string" }, "parameter_format": { "anyOf": [ { "enum": [ "NAMED", "POSITIONAL" ], "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "name", "language", "category", "components" ], "type": "object" }, "waba_account_id": { "description": "Needs to end with 'WA'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+wa$", "type": "string" } }, "required": [ "template_json", "waba_account_id" ], "type": "object" }, "name": "create_template", "outputSchema": { "properties": { "created": { "type": "boolean" }, "example": { "anyOf": [ {}, { "type": "null" } ], "default": null }, "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "template": { "anyOf": [ { "properties": { "category": { "type": "string" }, "components": { "default": [], "items": {}, "type": "array" }, "created_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "external_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "id": { "type": "string" }, "language": { "type": "string" }, "modified_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "name": { "type": "string" }, "partner_id": { "type": "string" }, "rejected_reason": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "status": { "type": "string" }, "updated_external": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "waba_account_id": { "type": "string" } }, "required": [ "id", "waba_account_id", "partner_id", "category", "name", "status", "language" ], "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "created" ], "type": "object" } }, { "description": "Delete a WhatsApp message template by its internal template ID.", "inputSchema": { "additionalProperties": false, "properties": { "template_id": { "description": "Needs to end with 'WT'. Use 'list_templates' to find a template's ID.", "maxLength": 22, "minLength": 22, "pattern": "(?i)^[a-z0-9]+wt$", "type": "string" }, "waba_account_id": { "description": "Needs to end with 'WA'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+wa$", "type": "string" } }, "required": [ "template_id", "waba_account_id" ], "type": "object" }, "name": "delete_template", "outputSchema": { "properties": { "deleted": { "type": "boolean" }, "message": { "type": "string" }, "template_id": { "type": "string" } }, "required": [ "deleted", "template_id", "message" ], "type": "object" } }, { "description": "Store a channel's message data in a chosen region.\n\nThe channel is re-registered in Cloud API after calling this tool. Contact our support team\nif this tool fails.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+ch$", "type": "string" }, "data_localization_region": { "description": "Region code where this number's message data is at rest.", "enum": [ "AU", "ID", "IN", "JP", "SG", "KR", "DE", "CH", "GB", "BR", "BH", "ZA", "AE", "CA" ], "type": "string" } }, "required": [ "data_localization_region", "channel_id" ], "type": "object" }, "name": "enable_local_storage", "outputSchema": { "properties": { "channel_id": { "type": "string" }, "data_localization_region": { "type": "string" } }, "required": [ "channel_id", "data_localization_region" ], "type": "object" } }, { "description": "Suggest available WhatsApp business usernames for a channel.\n\nMeta reserves these usernames for the number's business. Use this before 'set_business_username'.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+ch$", "type": "string" } }, "required": [ "channel_id" ], "type": "object" }, "name": "get_business_username_suggestions", "outputSchema": { "properties": { "channel_id": { "type": "string" }, "suggestions": { "items": { "type": "string" }, "type": "array" } }, "required": [ "channel_id", "suggestions" ], "type": "object" } }, { "description": "Show the full details of one channel: status, availability, quality rating,\nmessaging limit, registration code status, and its WABA, project, client and app IDs.\n\nAlso shows the channel's WhatsApp Business Account (WABA): its status, Meta business verification status,\nmessage-on-behalf status, phone number and conversation limits, Meta ban state, and any policy violations\naffecting this number. Use it to troubleshoot restricted or unverified accounts.\n\nUseful for when the user asks more details for a specific number. Use 'list_channels' to find channels first.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+ch$", "type": "string" } }, "required": [ "channel_id" ], "type": "object" }, "name": "get_channel_details", "outputSchema": { "properties": { "channel": { "properties": { "account_mode": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "app_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "availability_status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "cancelled_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "client_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "code_verification_status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "created_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "display_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "integration_state": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "messaging_limit": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "meta_status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "partner_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "phone_number": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "policy_violations": { "default": [], "items": { "properties": { "event": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "expires_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "phone_number": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "type": "array" }, "project_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "quality_rating": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "terminated_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "verification_method": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "waba_account": { "anyOf": [ { "properties": { "business_verification_status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "has_signed_consents": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "max_daily_conversations_per_business": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "max_phone_numbers_per_business": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null }, "max_phone_numbers_per_waba": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null }, "message_on_behalf_status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "meta_ban_date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "meta_ban_state": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "meta_business_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "meta_waba_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "service_pricing_policy": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "timezone_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "waba_account_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" } }, "required": [ "channel" ], "type": "object" } }, { "description": "Get a channel's (a.k.a. phone number) WhatsApp profile, and the profile's 360Dialog Hub page.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+ch$", "type": "string" }, "project_id": { "description": "Needs to end with 'PR'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+pr$", "type": "string" } }, "required": [ "channel_id", "project_id" ], "type": "object" }, "name": "get_channel_profile", "outputSchema": { "properties": { "found": { "type": "boolean" }, "hub_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "profile": { "anyOf": [ { "properties": { "about_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "business_description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "business_vertical": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "contact_email": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "full_address": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "picture_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "websites": { "default": [], "items": { "type": "string" }, "type": "array" } }, "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "found" ], "type": "object" } }, { "description": "Show one client's account details and status: name, status, number limit, contact information and Meta\nbusiness ID.\n\nClient users see their own account. Partner users pass the ID of one of their clients.", "inputSchema": { "additionalProperties": false, "properties": {}, "required": [], "type": "object" }, "name": "get_client_details", "outputSchema": { "properties": { "client": { "anyOf": [ { "properties": { "contact_info": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "default": null }, "contact_user": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "string" }, { "type": "null" } ], "default": null }, "created_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "fb_business_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "max_channels": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null }, "name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "found": { "type": "boolean" }, "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "found" ], "type": "object" } }, { "description": "Get a documentation page from the 360Dialog client documentation at https://docs.360dialog.com/docs. Fetch the full markdown content of a specific documentation page from Client Documentation. Use this when you have a page URL and want to read its content. Accepts full URLs (e.g. https://docs.360dialog.com/docs/getting-started). Since `searchDocumentation` returns partial content, use `getPage` to retrieve the complete page when you need more details. The content includes links you can follow to navigate to related pages.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "url": { "description": "The URL of the page to fetch", "type": "string" } }, "required": [ "url" ], "type": "object" }, "name": "get_client_documentation_page", "outputSchema": null }, { "description": "Show whether the WhatsApp Business catalog is visible and the cart is enabled on a channel.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+ch$", "type": "string" } }, "required": [ "channel_id" ], "type": "object" }, "name": "get_commerce_settings", "outputSchema": { "properties": { "channel_id": { "type": "string" }, "settings": { "properties": { "is_cart_enabled": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "is_catalog_visible": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" } }, "required": [ "channel_id", "settings" ], "type": "object" } }, { "description": "Get the user's company's details from 360Dialog.", "inputSchema": { "additionalProperties": false, "properties": {}, "required": [], "type": "object" }, "name": "get_company_details", "outputSchema": { "properties": { "client": { "properties": { "contact_info": { "anyOf": [ { "properties": { "city": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "country": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "full_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "language": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "phone": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "street_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "webpage_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "zip_code": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "fb_business_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "id": { "type": "string" }, "max_channels": { "type": "integer" }, "name": { "type": "string" }, "status": { "type": "string" }, "tax_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "id", "name", "status", "max_channels" ], "type": "object" } }, "required": [ "client" ], "type": "object" } }, { "description": "Show the progress of a WABA's billing currency change.\n\nReturns the most recent migration, or says there is none.", "inputSchema": { "additionalProperties": false, "properties": { "waba_account_id": { "description": "Needs to end with 'WA'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+wa$", "type": "string" } }, "required": [ "waba_account_id" ], "type": "object" }, "name": "get_currency_migration_status", "outputSchema": { "properties": { "destination_waba_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "found": { "type": "boolean" }, "meta_status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "target_currency": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "waba_account_id": { "type": "string" } }, "required": [ "waba_account_id", "found" ], "type": "object" } }, { "description": "Show messages sent, delivered and billed for a phone number (channel) over a date range, and their cost.\n\nWithout dates it covers the last 7 days; ranges over 90 days are summarised by month. Days follow the WhatsApp Business Account's timezone, and today (or this month) appears only once it's over. Rate limited, so prefer one call covering the whole range.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+ch$", "type": "string" }, "end_date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Last day to include, as an ISO date like 2026-05-07. Defaults to today." }, "granularity": { "anyOf": [ { "enum": [ "daily", "monthly" ], "type": "string" }, { "type": "null" } ], "default": null, "description": "Report by day or by calendar month. Defaults to daily; ranges over 90 days are always monthly." }, "start_date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "First day to include, as an ISO date like 2026-05-01. Defaults to 6 days before the end date, so the last 7 days when no dates are given." } }, "required": [ "channel_id" ], "type": "object" }, "name": "get_messaging_analytics", "outputSchema": { "properties": { "by_category": { "default": [], "items": { "properties": { "billed": { "type": "integer" }, "category": { "type": "string" }, "cost": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null } }, "required": [ "category", "billed" ], "type": "object" }, "type": "array" }, "by_day": { "default": [], "items": { "properties": { "day": { "type": "string" }, "delivered": { "type": "integer" }, "sent": { "type": "integer" } }, "required": [ "day", "sent", "delivered" ], "type": "object" }, "type": "array" }, "channel_id": { "type": "string" }, "cost_unavailable": { "default": false, "type": "boolean" }, "currency": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "current_period_missing": { "default": false, "type": "boolean" }, "display_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "end_date": { "type": "string" }, "found": { "type": "boolean" }, "granularity": { "type": "string" }, "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "phone_number": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "start_date": { "type": "string" }, "timezone": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "totals": { "anyOf": [ { "properties": { "billed": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null }, "cost": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null }, "delivered": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null }, "sent": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "found", "channel_id", "start_date", "end_date", "granularity" ], "type": "object" } }, { "description": "Get a phone number's status on whether a number is live, what type of messages it can send today,\nand suggestions for what's next.\n\nA live number can send free-form replies inside the 24-hour customer service window immediately\n(meaning if someone messages the number, the user can respond to the message using the API).\nTemplate messages are separately blocked until Meta reviews a submitted template (template reviews\ntake up to 24 hours.)\n\nLack of business verification is not a blocker. Unverified businesses can only send 250 templates\nto unique users per 24 hours.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "anyOf": [ { "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+ch$", "type": "string" }, { "type": "null" } ], "description": "Needs to end with 'CH'." }, "phone_number": { "anyOf": [ { "format": "phone", "type": "string" }, { "type": "null" } ], "default": null, "description": "The phone number of the number being onboarded" } }, "required": [ "channel_id" ], "type": "object" }, "name": "get_onboarding_status", "outputSchema": { "properties": { "availability_status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "can_send_templates": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "channel_status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "found": { "type": "boolean" }, "live": { "default": false, "type": "boolean" }, "message": { "type": "string" }, "messaging_limit": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "next_step": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "phone_number": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "quality_rating": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "found", "message" ], "type": "object" } }, { "description": "Check whether 360Dialog or WhatsApp currently has an outage or degraded service.\n\nUse this first when messages fail, webhooks stop, or the user asks whether the platform is down.", "inputSchema": { "additionalProperties": false, "properties": {}, "type": "object" }, "name": "get_platform_status", "outputSchema": { "properties": { "all_operational": { "type": "boolean" }, "components_with_issues": { "default": [], "items": { "properties": { "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "name": { "type": "string" }, "status": { "type": "string" } }, "required": [ "name", "status" ], "type": "object" }, "type": "array" }, "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "pages_with_issues": { "default": [], "items": { "properties": { "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "name": { "type": "string" }, "status": { "type": "string" } }, "required": [ "name", "status" ], "type": "object" }, "type": "array" }, "unavailable_sources": { "default": [], "items": { "type": "string" }, "type": "array" }, "whatsapp_outages": { "default": [], "items": { "properties": { "date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "type": "array" } }, "required": [ "all_operational" ], "type": "object" } }, { "description": "Get currently logged in user's information in 360Dialog. You will get:\n- user's name,\n- user's email address,\n- partner name,\n- user's permissions in 360Dialog Hub,\n- user's roles", "inputSchema": { "additionalProperties": false, "properties": {}, "type": "object" }, "name": "get_self", "outputSchema": { "properties": { "audience": { "type": "string" }, "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "ok": { "type": "boolean" }, "profile": { "anyOf": [ { "properties": { "active_partner": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "clients": { "items": { "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "org_name": { "type": "string" }, "partner_id": { "type": "string" } }, "required": [ "id", "org_name", "name", "partner_id" ], "type": "object" }, "type": "array" }, "email": { "type": "string" }, "email_verified": { "type": "boolean" }, "last_managed": { "anyOf": [ { "properties": { "channel_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "name": { "type": "string" }, "nickname": { "type": "string" }, "org_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "organizations": { "items": { "properties": { "entity_id": { "type": "string" }, "org_name": { "type": "string" }, "partner_id": { "type": "string" } }, "required": [ "partner_id", "entity_id", "org_name" ], "type": "object" }, "type": "array" }, "partners": { "items": { "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "org_name": { "type": "string" } }, "required": [ "id", "org_name", "name" ], "type": "object" }, "type": "array" }, "permissions": { "items": { "type": "string" }, "type": "array" }, "picture": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "roles": { "items": { "type": "string" }, "type": "array" }, "user_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ] } }, "required": [ "clients", "partners", "organizations", "permissions", "email", "email_verified", "name", "nickname", "user_id", "roles" ], "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "ok", "audience" ], "type": "object" } }, { "description": "Get the full guide for one skill returned by 'list_skills', as markdown.", "inputSchema": { "additionalProperties": false, "properties": { "name": { "description": "A skill's 'name' field, as returned by list_skills.", "type": "string" } }, "required": [ "name" ], "type": "object" }, "name": "get_skill", "outputSchema": { "properties": { "found": { "type": "boolean" }, "skill": { "anyOf": [ { "description": "A skill's full body, as returned by get_skill", "properties": { "content": { "type": "string" }, "description": { "type": "string" }, "name": { "type": "string" }, "tags": { "default": [], "items": { "type": "string" }, "type": "array" }, "title": { "type": "string" }, "updated_at": { "type": "string" } }, "required": [ "name", "title", "description", "updated_at", "content" ], "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "found" ], "type": "object" } }, { "description": "Sending messaging templates in WhatsApp API / 360Dialog API requires a JSON body in the API request.\n\nThe API request can be hard to form, as the body must declare in JSON what each parameter in the JSON should\nbe filled as.\n\nThis tool creates a valid example JSON body that the user can later modify before sending the template to WhatsApp users.\n\nIt is recommended that you use this tool after creating a template, or after the user asks how to send a template.\nDisplay the JSON result of this tool.", "inputSchema": { "additionalProperties": false, "properties": { "template_id": { "description": "Needs to end with 'WT'. Use 'list_templates' to find a template's ID.", "maxLength": 22, "minLength": 22, "pattern": "(?i)^[a-z0-9]+wt$", "type": "string" }, "waba_account_id": { "description": "Needs to end with 'WA'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+wa$", "type": "string" } }, "required": [ "template_id", "waba_account_id" ], "type": "object" }, "name": "get_template_json_example", "outputSchema": { "properties": { "example": { "anyOf": [ {}, { "type": "null" } ], "default": null }, "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "template_id": { "type": "string" }, "template_name": { "type": "string" } }, "required": [ "template_id", "template_name" ], "type": "object" } }, { "description": "Show the number, duration and cost of calls for a phone number (channel) over a date range.\n\nWithout dates it covers the last 7 days; ranges over 90 days are summarised by month. Days follow the WhatsApp Business Account's timezone, and today (or this month) appears only once it's over. Rate limited, so prefer one call covering the whole range.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+ch$", "type": "string" }, "end_date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Last day to include, as an ISO date like 2026-05-07. Defaults to today." }, "start_date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "First day to include, as an ISO date like 2026-05-01. Defaults to 6 days before the end date, so the last 7 days when no dates are given." } }, "required": [ "channel_id" ], "type": "object" }, "name": "get_voice_analytics", "outputSchema": { "properties": { "by_direction": { "default": [], "items": { "properties": { "average_duration_seconds": { "type": "integer" }, "calls": { "type": "integer" }, "cost": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null }, "direction": { "type": "string" } }, "required": [ "direction", "calls", "average_duration_seconds" ], "type": "object" }, "type": "array" }, "channel_id": { "type": "string" }, "cost_unavailable": { "default": false, "type": "boolean" }, "currency": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "current_period_missing": { "default": false, "type": "boolean" }, "display_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "end_date": { "type": "string" }, "found": { "type": "boolean" }, "granularity": { "type": "string" }, "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "phone_number": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "start_date": { "type": "string" }, "timezone": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "totals": { "anyOf": [ { "properties": { "calls": { "type": "integer" }, "cost": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null }, "total_duration_seconds": { "type": "integer" } }, "required": [ "calls", "total_duration_seconds" ], "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "found", "channel_id", "start_date", "end_date", "granularity" ], "type": "object" } }, { "description": "Get a channel's (a.k.a. phone number's) webhook URL, and check if the optional webhook headers are set.\n\nWebhook headers are optional. They can be set using the 'set_webhook' tool, which also sets the webhook URL.\nWhen webhook headers are set, 360Dialog will send webhooks to the channel's webhook URL and add the specified headers.\n\nThis helps only authenticated requests pass through app firewalls, if the user has any.\n\nExample:\n\nIf webhook URL is `https://foo.com/webhook`, and webhook headers are set to {\"x-360dialog-webhook-security\": \"RANDOM-STRING\"},\nthe webhook URL will receive POST requests like this:\n\nPOST https://foo.com/webhook\nHEADERS\n x-360dialog-webhook-security: RANDOM-STRING", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+ch$", "type": "string" } }, "required": [ "channel_id" ], "type": "object" }, "name": "get_webhook", "outputSchema": { "properties": { "configured": { "type": "boolean" }, "masked_headers": { "additionalProperties": { "type": "string" }, "default": {}, "type": "object" }, "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "webhook": { "anyOf": [ { "properties": { "headers": { "default": [], "items": { "additionalProperties": { "type": "string" }, "type": "object" }, "type": "array" }, "url": { "type": "string" } }, "required": [ "url" ], "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "configured" ], "type": "object" } }, { "description": "Send a saved (canned) response into a conversation as a text message.\n\nSubject to the same 24-hour window rule as inbox_send_message.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "The 360dialog channel ID of the inbox to operate on.", "type": "string" }, "conversation_id": { "description": "The conversation's contact WhatsApp ID (phone-style like '4915112345678', or business-scoped). Take it from list_conversations or search_conversations results; do not guess it.", "type": "string" }, "saved_response_id": { "description": "Saved response ID from list_saved_responses.", "type": "integer" } }, "required": [ "channel_id", "conversation_id", "saved_response_id" ], "type": "object" }, "name": "inbox_apply_saved_response", "outputSchema": { "additionalProperties": true, "type": "object" } }, { "description": "Assign or reassign one conversation to an agent and/or a group.\n\nBoth fields are always set to exactly what you pass: calling with only\n`user_id` clears any group assignment and vice versa; calling with neither\nunassigns the conversation entirely.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "The 360dialog channel ID of the inbox to operate on.", "type": "string" }, "conversation_id": { "description": "The conversation's contact WhatsApp ID (phone-style like '4915112345678', or business-scoped). Take it from list_conversations or search_conversations results; do not guess it.", "type": "string" }, "group_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "Group ID from list_groups to assign; omit/null to leave unassigned." }, "user_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "Agent (user) ID from list_agents to assign; omit/null to leave unassigned." } }, "required": [ "channel_id", "conversation_id" ], "type": "object" }, "name": "inbox_assign_conversation", "outputSchema": { "additionalProperties": true, "type": "object" } }, { "description": "Read one conversation: contact/assignment/tag details plus its message history.\n\nMessages are returned newest first. To page further back, call again with\n`before_time` set to the oldest returned message's timestamp.", "inputSchema": { "additionalProperties": false, "properties": { "before_time": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "Only messages strictly older than this POSIX timestamp — use for paging back through history." }, "channel_id": { "description": "The 360dialog channel ID of the inbox to operate on.", "type": "string" }, "conversation_id": { "description": "The conversation's contact WhatsApp ID (phone-style like '4915112345678', or business-scoped). Take it from list_conversations or search_conversations results; do not guess it.", "type": "string" }, "limit": { "default": 20, "description": "Maximum number of messages to return.", "maximum": 100, "minimum": 1, "type": "integer" }, "since_time": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "Only messages at or after this POSIX timestamp." } }, "required": [ "channel_id", "conversation_id" ], "type": "object" }, "name": "inbox_get_conversation", "outputSchema": { "additionalProperties": true, "type": "object" } }, { "description": "List the inbox's agents (users) — for assignment via inbox_assign_conversation.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "The 360dialog channel ID of the inbox to operate on.", "type": "string" }, "is_available": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "description": "Filter by availability; omit to list all agents." } }, "required": [ "channel_id" ], "type": "object" }, "name": "inbox_list_agents", "outputSchema": { "additionalProperties": true, "type": "object" } }, { "description": "List conversations of the inbox, newest activity first.\n\nReturns one entry per conversation with contact info, unread count, last\nmessage, current assignee (user and/or group), and tags.", "inputSchema": { "additionalProperties": false, "properties": { "assigned_to_me": { "default": false, "description": "Only conversations assigned to the calling user.", "type": "boolean" }, "channel_id": { "description": "The 360dialog channel ID of the inbox to operate on.", "type": "string" }, "limit": { "default": 20, "maximum": 100, "minimum": 1, "type": "integer" }, "offset": { "default": 0, "minimum": 0, "type": "integer" }, "tag_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "Only conversations carrying this tag (see list_tags)." }, "unread": { "default": false, "description": "Only conversations with unread incoming messages.", "type": "boolean" } }, "required": [ "channel_id" ], "type": "object" }, "name": "inbox_list_conversations", "outputSchema": { "additionalProperties": true, "type": "object" } }, { "description": "List the inbox's agent groups — for group assignment via inbox_assign_conversation.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "The 360dialog channel ID of the inbox to operate on.", "type": "string" } }, "required": [ "channel_id" ], "type": "object" }, "name": "inbox_list_groups", "outputSchema": { "additionalProperties": true, "type": "object" } }, { "description": "List the WhatsApp inboxes the calling 360dialog user can access.\n\nCall this first when you don't know which `channel_id` to pass to the\nother tools: each entry pairs a `channel_id` with its inbox URL and\nWhatsApp number (`wa_id`). Entries without a `channel_id` cannot be\ndriven through these tools.\n\nThe listing covers the caller's own client accounts, plus every inbox under\na partner the caller administers. It never reaches another tenant: a client\nuser is not shown other clients' inboxes, including ones managed by the same\npartner. An empty list does not mean no inbox exists; pass a known\n`channel_id` to the other tools directly.", "inputSchema": { "additionalProperties": false, "properties": {}, "type": "object" }, "name": "inbox_list_inboxes", "outputSchema": { "additionalProperties": true, "type": "object" } }, { "description": "List the inbox's saved (canned) responses — for use with inbox_apply_saved_response.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "The 360dialog channel ID of the inbox to operate on.", "type": "string" }, "search": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Only saved responses whose text contains this substring." } }, "required": [ "channel_id" ], "type": "object" }, "name": "inbox_list_saved_responses", "outputSchema": { "additionalProperties": true, "type": "object" } }, { "description": "List the inbox's tags — for tagging via inbox_tag_conversation and filtering via inbox_list_conversations.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "The 360dialog channel ID of the inbox to operate on.", "type": "string" } }, "required": [ "channel_id" ], "type": "object" }, "name": "inbox_list_tags", "outputSchema": { "additionalProperties": true, "type": "object" } }, { "description": "Mark one conversation's messages as read by the calling user.\n\nPass `up_to_timestamp` after reviewing a conversation so that messages\narriving in the meantime stay unread. The read mark only moves forward: a\ntimestamp older than the caller's current mark changes nothing. Read state\nis per inbox user: this clears the unread count for the caller only, not\nfor other agents. The inbox also marks the messages as read on WhatsApp,\nso the contact sees read receipts. Only conversations whose messages you\ncan read can be marked.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "The 360dialog channel ID of the inbox to operate on.", "type": "string" }, "conversation_id": { "description": "The conversation's contact WhatsApp ID (phone-style like '4915112345678', or business-scoped). Take it from list_conversations or search_conversations results; do not guess it.", "type": "string" }, "up_to_timestamp": { "anyOf": [ { "minimum": 1, "type": "number" }, { "type": "null" } ], "default": null, "description": "Timestamp of the last message you reviewed, taken from get_conversation results; messages up to and including it are marked read, newer ones stay unread. Omit to mark everything currently in the conversation." } }, "required": [ "channel_id", "conversation_id" ], "type": "object" }, "name": "inbox_mark_conversation_as_read", "outputSchema": { "additionalProperties": true, "type": "object" } }, { "description": "Find conversations by contact name, phone number, tag name, or message content.\n\nSearches contact profiles and tags first, then message text and media\ncaptions; results from both are merged and deduplicated by conversation.\nEach match notes why it matched (`contact` or `message_content`).", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "The 360dialog channel ID of the inbox to operate on.", "type": "string" }, "limit": { "default": 20, "maximum": 100, "minimum": 1, "type": "integer" }, "query": { "description": "Text to search for.", "minLength": 1, "type": "string" } }, "required": [ "channel_id", "query" ], "type": "object" }, "name": "inbox_search_conversations", "outputSchema": { "additionalProperties": true, "type": "object" } }, { "description": "Send a message into an existing conversation, as the business.\n\nThis is inbox-scoped sending: it posts into an existing conversation with\ncorrect threading. Outside the 24-hour customer-care window, WhatsApp only\npermits template messages — other types are rejected with an explanation.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "The 360dialog channel ID of the inbox to operate on.", "type": "string" }, "content": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "default": null, "description": "The type-specific message object, following the WhatsApp Business API shape. For type=text: {\"body\": \"...\"}. For image/video: {\"link\": \"https://...\", \"caption\"?}. For document: {\"link\": \"https://...\", \"filename\"?, \"caption\"?}. For audio/sticker: {\"link\": \"...\"}. For template: {\"name\": \"...\", \"language\": {...}, \"components\": [...]}. For interactive/location/contacts: the corresponding WABA object." }, "conversation_id": { "description": "The conversation's contact WhatsApp ID (phone-style like '4915112345678', or business-scoped). Take it from list_conversations or search_conversations results; do not guess it.", "type": "string" }, "type": { "default": "text", "description": "WhatsApp message type of `content`.", "enum": [ "text", "image", "video", "audio", "document", "sticker", "template", "interactive", "location", "contacts" ], "type": "string" } }, "required": [ "channel_id", "conversation_id" ], "type": "object" }, "name": "inbox_send_message", "outputSchema": { "additionalProperties": true, "type": "object" } }, { "description": "Add or remove one tag on one conversation.", "inputSchema": { "additionalProperties": false, "properties": { "action": { "default": "add", "description": "Add the tag to or remove it from the conversation.", "enum": [ "add", "remove" ], "type": "string" }, "channel_id": { "description": "The 360dialog channel ID of the inbox to operate on.", "type": "string" }, "conversation_id": { "description": "The conversation's contact WhatsApp ID (phone-style like '4915112345678', or business-scoped). Take it from list_conversations or search_conversations results; do not guess it.", "type": "string" }, "tag_id": { "description": "Tag ID from list_tags.", "type": "integer" } }, "required": [ "channel_id", "conversation_id", "tag_id" ], "type": "object" }, "name": "inbox_tag_conversation", "outputSchema": { "additionalProperties": true, "type": "object" } }, { "description": "Invite a new user to the account, with a role. The invitee gets an email with a link to set their password.\n\nClient users invite to their own client account, partner users to the partner account. To create a new client\ntogether with its first user, use 'create_client_and_invite'.\n\nThe user may be prompted by 360Dialog for an OTP code delivered to their email address.", "inputSchema": { "additionalProperties": false, "properties": { "email": { "description": "Email address of the person to invite.", "type": "string" }, "name": { "description": "Full name of the person to invite.", "type": "string" }, "role": { "description": "Role to give the new user. 'partner-owner' or 'partner-member' on a partner account, 'client-owner' or 'client-member' on a client account. Owners can invite users and manage the account; members can use it but not manage users.", "enum": [ "partner-owner", "partner-member", "client-owner", "client-member" ], "type": "string" } }, "required": [ "email", "name", "role" ], "type": "object" }, "name": "invite_user", "outputSchema": { "properties": { "account": { "type": "string" }, "email": { "type": "string" }, "invited": { "type": "boolean" }, "message": { "type": "string" }, "role": { "type": "string" } }, "required": [ "invited", "email", "role", "account", "message" ], "type": "object" } }, { "description": "Show which WhatsApp users are blocked from messaging a channel.\n\nMeta always returns the BSUID; phone number is only returned when it has been shared with the business.\nTo unblock a user without a phone number, pass their BSUID to 'unblock_users' in 'user_ids'.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+ch$", "type": "string" } }, "required": [ "channel_id" ], "type": "object" }, "name": "list_blocked_users", "outputSchema": { "properties": { "blocked_users": { "items": { "properties": { "input": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "user_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "wa_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "type": "array" }, "channel_id": { "type": "string" } }, "required": [ "channel_id", "blocked_users" ], "type": "object" } }, { "description": "Find a channel by passing in an identifier.\n\nA channel is a phone number. By calling this tool you retrieve information about the phone number/channel in 360Dialog.\n\nResults are paginated; use the 'page' and 'size' arguments to page through results if there are more than fit in a single page.\n\nReturns:\n If no channel matches, returns \"No channels found.\" If found, returns information of channels, like WABA ID, client ID, channel ID, app ID and the number's 360Dialog Hub page, along with the current page, total pages, and total count.", "inputSchema": { "additionalProperties": false, "properties": { "filter": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Optional filter. You can pass a phone number, client ID, or channel ID here. Defaults to None; call without this argument if you want to get all channels." }, "page": { "default": 1, "description": "Page number to retrieve, starting at 1.", "minimum": 1, "type": "integer" }, "size": { "default": 20, "description": "Number of channels to return per page, at most 100.", "maximum": 100, "minimum": 1, "type": "integer" } }, "required": [], "type": "object" }, "name": "list_channels", "outputSchema": { "properties": { "channels": { "anyOf": [ { "properties": { "count": { "default": 0, "type": "integer" }, "partner_channels": { "default": [], "items": { "properties": { "account_mode": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "app_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "availability_status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "cancelled_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "client": { "anyOf": [ { "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "created_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "current_limit": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "current_quality_rating": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "external_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "hub_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "integration": { "anyOf": [ { "properties": { "state": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "is_allowed_to_send_template_message": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "is_oba": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "partner": { "anyOf": [ { "properties": { "status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "partner_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "project_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "setup_info": { "anyOf": [ { "properties": { "phone_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "phone_number": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "registration_error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "terminated_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "waba_account": { "anyOf": [ { "properties": { "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null } }, "type": "object" }, "type": "array" } }, "type": "object" }, { "type": "null" } ], "default": null }, "found": { "type": "boolean" }, "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "page": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null }, "total_count": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null }, "total_pages": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null } }, "required": [ "found" ], "type": "object" } }, { "description": "List requests to move numbers between partners, with their status.\n\nClient users see the requests their client made. Partner users see the requests addressed to their partner,\nwhich they can approve or reject; a partner can pass 'client_id' to only see the requests of one client.\nPass 'request_id' to follow the status of one request.", "inputSchema": { "additionalProperties": false, "properties": { "page": { "default": 1, "description": "Page number to retrieve, starting at 1.", "minimum": 1, "type": "integer" }, "request_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Optional. Only show the request with this ID." }, "size": { "default": 20, "description": "Number of requests to return per page, at most 100.", "maximum": 100, "minimum": 1, "type": "integer" }, "status": { "anyOf": [ { "enum": [ "created", "pending", "completed", "failed", "rejected" ], "type": "string" }, { "type": "null" } ], "default": null, "description": "Optional. Only list requests in this status. 'created' means waiting for the new partner's approval." } }, "required": [], "type": "object" }, "name": "list_partner_change_requests", "outputSchema": { "properties": { "count": { "type": "integer" }, "message": { "type": "string" }, "requests": { "items": { "properties": { "client_contact_email": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "client_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "created_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "error_details": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "default": null }, "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "is_full_migration": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "migrated_channels": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null }, "modified_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "rejection_reason": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "source_client_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "source_partner_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "target_client_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "target_partner_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "type": "array" }, "total": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null } }, "required": [ "count", "requests", "message" ], "type": "object" } }, { "description": "List the user's 360Dialog status update subscriptions (delivered via email).", "inputSchema": { "additionalProperties": false, "properties": {}, "type": "object" }, "name": "list_platform_status_subscriptions", "outputSchema": { "properties": { "email": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "subscriptions": { "default": [], "items": { "properties": { "email": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "subscriber_id": { "type": "string" } }, "required": [ "subscriber_id" ], "type": "object" }, "type": "array" } }, "type": "object" } }, { "description": "List the 360Dialog skills available to you.\n\nA skill is a curated, up-to-date how-to guide for a 360Dialog process (e.g. drafting a\ncompliant WhatsApp template, diagnosing a channel that stopped sending). Call this tool\nBEFORE answering any \"how do I...\" question about 360Dialog products or processes -\nit tells you which skills exist and when to use them. Once you find a match, call\n'get_skill' with its 'name' to read the full guide.", "inputSchema": { "additionalProperties": false, "properties": {}, "type": "object" }, "name": "list_skills", "outputSchema": { "properties": { "skills": { "items": { "description": "A skill as listed by list_skills. Maps 1:1 onto a published GitBook page", "properties": { "description": { "type": "string" }, "name": { "type": "string" }, "tags": { "default": [], "items": { "type": "string" }, "type": "array" }, "title": { "type": "string" }, "updated_at": { "type": "string" } }, "required": [ "name", "title", "description", "updated_at" ], "type": "object" }, "type": "array" } }, "required": [ "skills" ], "type": "object" } }, { "description": "List templates for a WABA (WhatsApp Business Account). If you do not have a waba_account_id ending in 'WA' (case-insensitive), run the 'list_channels' tool first.", "inputSchema": { "additionalProperties": false, "properties": { "name_filter": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Template name to search for. If one is not provided, leave blank." }, "status_filter": { "anyOf": [ { "enum": [ "approved", "pending", "paused", "rejected" ], "type": "string" }, { "type": "null" } ], "default": null, "description": "Filter templates by status. Allowed values are 'approved', 'pending', 'paused', 'rejected'. Leave blank if not needed." }, "waba_account_id": { "description": "Needs to end with 'WA'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+wa$", "type": "string" } }, "required": [ "waba_account_id" ], "type": "object" }, "name": "list_templates", "outputSchema": { "properties": { "found": { "type": "boolean" }, "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "templates": { "anyOf": [ { "items": { "properties": { "category": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "created_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "id": { "type": "string" }, "language": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "modified_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "quality_score": { "anyOf": [ { "type": "string" }, { "properties": { "reasons": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "score": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "rejected_reason": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "id" ], "type": "object" }, "type": "array" }, { "type": "null" } ], "default": null } }, "required": [ "found" ], "type": "object" } }, { "description": "List users of the selected account, including their roles and creation timestamps.\n\nClient users get the users of their own client account, partner users the users of the partner account.", "inputSchema": { "additionalProperties": false, "properties": {}, "required": [], "type": "object" }, "name": "list_users", "outputSchema": { "properties": { "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "ok": { "type": "boolean" }, "users": { "anyOf": [ { "properties": { "count": { "type": "integer" }, "limit": { "type": "integer" }, "offset": { "type": "integer" }, "total": { "type": "integer" }, "users": { "items": { "properties": { "created_at": { "type": "string" }, "email": { "type": "string" }, "id": { "type": "string" }, "roles": { "items": { "type": "string" }, "type": "array" } }, "required": [ "id", "email", "roles", "created_at" ], "type": "object" }, "type": "array" } }, "required": [ "count", "total", "limit", "offset", "users" ], "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "ok" ], "type": "object" } }, { "description": "Add one consumer phone number to the allowlist. Returns the created {id, consumer_phone_number}. The allowlist only takes effect while ai_audience is ALLOWLISTED_ONLY; under EVERYONE the agent answers all consumers regardless of this list.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "consumer_phone_number": { "description": "Consumer's WhatsApp number in E.164 format, e.g. +15551234567.", "type": "string" } }, "required": [ "app_id", "consumer_phone_number" ], "type": "object" }, "name": "mba_add_allowlist_entry", "outputSchema": null }, { "description": "Check whether this channel's WhatsApp number is eligible for a Meta Business Agent. Returns {is_eligible: boolean}. Known limitation: a 403 from this call can mean the number is simply not eligible, rather than that the business has not accepted Meta's terms - do not report an unaccepted-terms problem on a 403 alone.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" } }, "required": [ "app_id" ], "type": "object" }, "name": "mba_check_agent_eligibility", "outputSchema": null }, { "description": "Add a skill to the agent - an instruction text that changes how it answers. Returns the created skill with its id. Skills are the right home for behavioural instructions; facts the agent should know belong in FAQs, websites or files instead.", "inputSchema": { "additionalProperties": false, "properties": { "agent_id": { "description": "Optional - attach the skill to one agent.", "type": "string" }, "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "description": { "description": "What the skill is for (max 1024 characters).", "type": "string" }, "skill": { "description": "The instruction text the agent follows (max 20000 characters).", "type": "string" }, "title": { "description": "Short name for the skill (max 64 characters).", "type": "string" } }, "required": [ "app_id" ], "type": "object" }, "name": "mba_create_agent_skill", "outputSchema": null }, { "description": "Create a connector so the agent can call a third-party system. Returns the connector with its id and connection_status. A connector on its own does nothing - add connector tools with mba_create_connector_tool to expose individual operations to the agent.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "auth_config": { "additionalProperties": false, "description": "Credentials matching auth_type: `api_key` when auth_type is API_KEY, `oauth2_client_credentials` when it is OAUTH2_CLIENT_CREDENTIALS. Credentials can also be set later with upsert_connector_api_key or upsert_connector_oauth.", "properties": { "api_key": { "additionalProperties": false, "description": "Where the API key is injected. Supply at least one of headers, query_params, body_params.", "properties": { "body_params": { "items": { "additionalProperties": false, "properties": { "field_name": { "description": "Header, query or body field name.", "type": "string" }, "prefix": { "description": "Optional prefix, e.g. 'Bearer '.", "type": "string" }, "value": { "description": "The credential value.", "type": "string" } }, "required": [ "field_name", "value" ], "type": "object" }, "type": "array" }, "headers": { "items": { "additionalProperties": false, "properties": { "field_name": { "description": "Header, query or body field name.", "type": "string" }, "prefix": { "description": "Optional prefix, e.g. 'Bearer '.", "type": "string" }, "value": { "description": "The credential value.", "type": "string" } }, "required": [ "field_name", "value" ], "type": "object" }, "type": "array" }, "query_params": { "items": { "additionalProperties": false, "properties": { "field_name": { "description": "Header, query or body field name.", "type": "string" }, "prefix": { "description": "Optional prefix, e.g. 'Bearer '.", "type": "string" }, "value": { "description": "The credential value.", "type": "string" } }, "required": [ "field_name", "value" ], "type": "object" }, "type": "array" } }, "type": "object" }, "oauth2_client_credentials": { "additionalProperties": false, "description": "OAuth 2.0 client credentials.", "properties": { "client_id": { "type": "string" }, "client_secret": { "type": "string" }, "scopes_to_request": { "items": { "type": "string" }, "type": "array" }, "token_request_content_type": { "enum": [ "application/x-www-form-urlencoded", "application/json" ], "type": "string" }, "token_url": { "type": "string" } }, "required": [ "token_url", "client_id", "client_secret", "scopes_to_request" ], "type": "object" } }, "type": "object" }, "auth_type": { "description": "How the connected system authenticates.", "enum": [ "OAUTH2", "OAUTH2_CLIENT_CREDENTIALS", "API_KEY", "BASIC", "CUSTOM", "NONE" ], "type": "string" }, "base_url": { "description": "Base URL every tool on this connector calls.", "type": "string" }, "description": { "description": "What the connected system does.", "type": "string" }, "name": { "description": "Name of the connector.", "type": "string" }, "requires_certificate": { "description": "True when the system needs mTLS; upload the certificate with upsert_connector_certificate.", "type": "boolean" }, "user_auth_injection_config": { "description": "Optional configuration for injecting a per-user token into tool requests.", "type": "object" } }, "required": [ "app_id", "name", "description", "base_url", "auth_type" ], "type": "object" }, "name": "mba_create_connector", "outputSchema": null }, { "description": "Define one action the agent can perform through a connector - an outbound HTTP request against the connector's base_url. Returns the created tool with its id. Known limitation: path_parameters, query_parameters and headers are NAME-TO-SCHEMA OBJECTS, not arrays - write {\"order_id\": {\"type\": \"string\"}}, never [{\"name\": \"order_id\", ...}]. And every {brace} token in `path` must have a matching key in path_parameters, or the definition is rejected.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "connector_id": { "description": "Connector id.", "type": "string" }, "description": { "description": "What the action does - the agent uses this to decide when to call it.", "type": "string" }, "name": { "description": "Name the agent sees for this action.", "type": "string" }, "request_definition": { "additionalProperties": false, "description": "The outbound HTTP request this tool makes, relative to the connector's base_url.", "properties": { "body": { "additionalProperties": false, "description": "Omit when the request has no body.", "properties": { "content_type": { "enum": [ "application/json" ], "type": "string" }, "params": { "additionalProperties": { "additionalProperties": false, "description": "Schema for one request body field or container.", "properties": { "binding": { "additionalProperties": false, "description": "Fixes the value instead of letting the agent supply it. Omit for agent-supplied input. Not allowed on an object or array node.", "properties": { "kind": { "enum": [ "default", "macro" ], "type": "string" }, "macro": { "description": "Used when kind is 'macro'.", "enum": [ "WHATSAPP_PHONE_NUMBER", "WHATSAPP_IDENTITY_HASH", "WHATSAPP_CURRENT_STATUS_ID" ], "type": "string" }, "value": { "description": "Used when kind is 'default'.", "type": "string" } }, "required": [ "kind" ], "type": "object" }, "description": { "type": "string" }, "items": { "type": "string" }, "properties": { "additionalProperties": { "type": "string" }, "type": "object" }, "required": { "items": { "type": "string" }, "type": "array" }, "type": { "enum": [ "object", "array", "string", "integer", "number", "boolean" ], "type": "string" } }, "required": [ "type" ], "type": "object" }, "type": "object" }, "required": { "items": { "type": "string" }, "type": "array" } }, "required": [ "content_type", "params" ], "type": "object" }, "headers": { "additionalProperties": { "additionalProperties": false, "description": "Schema for one path, query or header parameter.", "properties": { "binding": { "additionalProperties": false, "description": "Fixes the value instead of letting the agent supply it. Omit for agent-supplied input. Not allowed on an object or array node.", "properties": { "kind": { "enum": [ "default", "macro" ], "type": "string" }, "macro": { "description": "Used when kind is 'macro'.", "enum": [ "WHATSAPP_PHONE_NUMBER", "WHATSAPP_IDENTITY_HASH", "WHATSAPP_CURRENT_STATUS_ID" ], "type": "string" }, "value": { "description": "Used when kind is 'default'.", "type": "string" } }, "required": [ "kind" ], "type": "object" }, "description": { "type": "string" }, "required": { "type": "boolean" }, "type": { "enum": [ "string", "integer", "number", "boolean" ], "type": "string" } }, "required": [ "type" ], "type": "object" }, "description": "Object keyed by parameter NAME, each value a parameter schema. Not an array.", "type": "object" }, "method": { "enum": [ "GET", "POST", "PUT", "DELETE", "PATCH" ], "type": "string" }, "path": { "description": "Path template. Every {placeholder} needs a matching key in path_parameters.", "type": "string" }, "path_parameters": { "additionalProperties": { "additionalProperties": false, "description": "Schema for one path, query or header parameter.", "properties": { "binding": { "additionalProperties": false, "description": "Fixes the value instead of letting the agent supply it. Omit for agent-supplied input. Not allowed on an object or array node.", "properties": { "kind": { "enum": [ "default", "macro" ], "type": "string" }, "macro": { "description": "Used when kind is 'macro'.", "enum": [ "WHATSAPP_PHONE_NUMBER", "WHATSAPP_IDENTITY_HASH", "WHATSAPP_CURRENT_STATUS_ID" ], "type": "string" }, "value": { "description": "Used when kind is 'default'.", "type": "string" } }, "required": [ "kind" ], "type": "object" }, "description": { "type": "string" }, "required": { "type": "boolean" }, "type": { "enum": [ "string", "integer", "number", "boolean" ], "type": "string" } }, "required": [ "type" ], "type": "object" }, "description": "Object keyed by parameter NAME, each value a parameter schema. Not an array.", "type": "object" }, "query_parameters": { "additionalProperties": { "additionalProperties": false, "description": "Schema for one path, query or header parameter.", "properties": { "binding": { "additionalProperties": false, "description": "Fixes the value instead of letting the agent supply it. Omit for agent-supplied input. Not allowed on an object or array node.", "properties": { "kind": { "enum": [ "default", "macro" ], "type": "string" }, "macro": { "description": "Used when kind is 'macro'.", "enum": [ "WHATSAPP_PHONE_NUMBER", "WHATSAPP_IDENTITY_HASH", "WHATSAPP_CURRENT_STATUS_ID" ], "type": "string" }, "value": { "description": "Used when kind is 'default'.", "type": "string" } }, "required": [ "kind" ], "type": "object" }, "description": { "type": "string" }, "required": { "type": "boolean" }, "type": { "enum": [ "string", "integer", "number", "boolean" ], "type": "string" } }, "required": [ "type" ], "type": "object" }, "description": "Object keyed by parameter NAME, each value a parameter schema. Not an array.", "type": "object" } }, "required": [ "method", "path" ], "type": "object" }, "user_auth_action_config": { "description": "Optional login/refresh response extraction config, for user-auth actions.", "type": "object" }, "user_auth_required": { "description": "True when the call needs a per-user token rather than the connector's own credentials.", "type": "boolean" } }, "required": [ "app_id", "connector_id", "name", "description", "request_definition", "user_auth_required" ], "type": "object" }, "name": "mba_create_connector_tool", "outputSchema": null }, { "description": "Add one question-and-answer entry to the agent's knowledge. Returns the created entry with its id. FAQs are the right home for knowledge that does not fit business info's six fields.", "inputSchema": { "additionalProperties": false, "properties": { "answer": { "description": "The answer the agent should give.", "type": "string" }, "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "metadata": { "description": "Optional free-form metadata.", "type": "object" }, "question": { "description": "The customer's question.", "type": "string" } }, "required": [ "app_id", "question", "answer" ], "type": "object" }, "name": "mba_create_faq", "outputSchema": null }, { "description": "Give the agent one more rich WhatsApp component to send, and the instruction that says when to send it. Returns the created UI skill with its id. A UI skill is NOT an agent skill (mba_list_agent_skills): an agent skill is instruction text that shapes what the agent says, a UI skill lets the agent send one kind of rich WhatsApp component and tells it when to send that component. Known limitation: component_type is FIXED AT CREATION and cannot be changed afterwards. flow_id is required when component_type is `flow`, and is refused for every other type; a flow UI skill also cannot be enabled until the flow itself is published.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "component_type": { "description": "The kind of rich message this UI skill sends. Cannot be changed after creation.", "enum": [ "carousel_quick_reply", "carousel_url", "cta_url", "flow", "image", "interactive_list", "interactive_reply_buttons", "location", "location_request" ], "type": "string" }, "flow_id": { "description": "The flow to send. Required when component_type is `flow`, refused otherwise.", "type": "integer" }, "instruction": { "description": "Tells the agent when to send this component, e.g. 'Send this when the customer asks to browse the catalog'.", "type": "string" }, "status": { "description": "Whether the agent may send this component. Only an enabled UI skill is available to the agent.", "enum": [ "enabled", "disabled" ], "type": "string" }, "title": { "description": "Human-readable name for the UI skill.", "type": "string" } }, "required": [ "app_id", "title", "component_type", "status", "instruction" ], "type": "object" }, "name": "mba_create_ui_skill", "outputSchema": null }, { "description": "Add a website URL for the agent to crawl into its knowledge base. Returns the entry with its id and crawl status. Crawling is asynchronous - the knowledge is not available immediately; poll mba_get_website for crawl_status.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "url": { "description": "Website URL to crawl.", "type": "string" } }, "required": [ "app_id", "url" ], "type": "object" }, "name": "mba_create_website", "outputSchema": null }, { "description": "Remove the Meta Business Agent from this channel's WhatsApp number. Deletes the agent configuration and, when the last agent on the account is removed, disconnects the integration entirely. Returns {deleted_agent_id}. This is irreversible: knowledge, skills and connectors configured on the agent go with it, and restoring the setup means onboarding again from scratch.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" } }, "required": [ "app_id" ], "type": "object" }, "name": "mba_delete_agent", "outputSchema": null }, { "description": "Delete one agent skill by its id, so the agent stops following it. Returns no content on success.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "skill_id": { "description": "Agent skill id.", "type": "string" } }, "required": [ "app_id", "skill_id" ], "type": "object" }, "name": "mba_delete_agent_skill", "outputSchema": null }, { "description": "Delete one connector by its id. Its tools and stored credentials go with it. Returns no content on success.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "connector_id": { "description": "Connector id.", "type": "string" } }, "required": [ "app_id", "connector_id" ], "type": "object" }, "name": "mba_delete_connector", "outputSchema": null }, { "description": "Delete one connector tool definition by its id, so the agent can no longer perform that action. Returns no content on success.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "connector_id": { "description": "Connector id.", "type": "string" }, "tool_id": { "description": "Connector tool id.", "type": "string" } }, "required": [ "app_id", "connector_id", "tool_id" ], "type": "object" }, "name": "mba_delete_connector_tool", "outputSchema": null }, { "description": "Delete one FAQ entry by its id. Returns no content on success.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "faq_id": { "description": "FAQ entry id.", "type": "string" } }, "required": [ "app_id", "faq_id" ], "type": "object" }, "name": "mba_delete_faq", "outputSchema": null }, { "description": "Delete one file from the agent's knowledge base by its id. Returns no content on success.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "file_id": { "description": "Knowledge file id.", "type": "string" } }, "required": [ "app_id", "file_id" ], "type": "object" }, "name": "mba_delete_file", "outputSchema": null }, { "description": "Delete one UI skill by its id, so the agent stops sending that component. Returns no content on success. To stop the component temporarily, set status to `disabled` with mba_update_ui_skill instead.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "instruction_id": { "description": "UI skill id.", "type": "string" } }, "required": [ "app_id", "instruction_id" ], "type": "object" }, "name": "mba_delete_ui_skill", "outputSchema": null }, { "description": "Remove one website crawl entry by its id, dropping the knowledge crawled from it. Returns no content on success.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "website_id": { "description": "Website entry id.", "type": "string" } }, "required": [ "app_id", "website_id" ], "type": "object" }, "name": "mba_delete_website", "outputSchema": null }, { "description": "Read the usage caps in force for the agent, each with its budget_id. Returns {budgets}; an empty array means no cap is set and usage is unlimited. Known limitations: budgets are ONLY SERVED for the business that owns this number's WABA; any other business_id is refused with an error that says so. For a number whose business is not known to 360dialog yet, budgets are not available and this tool returns an error that says so. When several caps are set, whichever is reached first stops the agent until its window resets, and the agent then hands conversations to the business. Token caps apply across the WHOLE BUSINESS MANAGER, so every agent in that portfolio shares them; AI-turn caps apply per conversation. These tools set and read caps and do not report usage against them: mba_get_agent_usage_insights reports billed usage, keyed on the billable account ID and not on business_id.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "business_id": { "description": "The Meta Business Manager ID of the business that owns this number's WABA. No other tool returns it: it is the WABA's owner business in Meta Business Suite, and the 360dialog hub shows it on the channel.", "type": "string" } }, "required": [ "app_id", "business_id" ], "type": "object" }, "name": "mba_get_agent_budgets", "outputSchema": null }, { "description": "Read the processing status of an event submitted with mba_send_agent_event. Status is one of request_received, processing, sent, failed, skipped or success; failed and skipped carry error_message and skipped_reason. This is the only way to find out whether an accepted event actually reached the consumer.", "inputSchema": { "additionalProperties": false, "properties": { "agent_event_id": { "description": "Event id returned by send_agent_event.", "type": "string" }, "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" } }, "required": [ "app_id", "agent_event_id" ], "type": "object" }, "name": "mba_get_agent_event", "outputSchema": null }, { "description": "Read what happened to the events sent to the agent (mba_send_agent_event) over a date range, one row per event type, busiest first: how many were received, how many the agent successfully processed, and the mean end-to-end latency. Successfully processed means the agent sent its message, not that the message was delivered. Figures are rolled up once a day, so the most recent day may still be incomplete. Known limitation: the dates are in PACIFIC TIME, not the business time zone, and the range may span at most 30 days, counting both ends.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "end_date": { "description": "Last day to include, YYYY-MM-DD in Pacific Time. Inclusive.", "format": "date", "type": "string" }, "event_type": { "description": "Return only this event type, named as it was sent. Omit for every event type.", "type": "string" }, "start_date": { "description": "First day to include, YYYY-MM-DD in Pacific Time. Inclusive.", "format": "date", "type": "string" } }, "required": [ "app_id", "start_date", "end_date" ], "type": "object" }, "name": "mba_get_agent_event_insights", "outputSchema": null }, { "description": "Read the agent's current settings: rollout, handoff, followup and ai_audience. Known limitation: this returns an ARRAY with one entry per channel, not a single object. Read the entry whose `channel` you care about (usually \"whatsapp\") rather than treating the response as an object.", "inputSchema": { "additionalProperties": false, "properties": { "agent_id": { "description": "Optional - restrict the read to one agent.", "type": "string" }, "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" } }, "required": [ "app_id" ], "type": "object" }, "name": "mba_get_agent_settings", "outputSchema": null }, { "description": "Read one agent skill by its id, as returned by mba_list_agent_skills or mba_create_agent_skill.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "skill_id": { "description": "Agent skill id.", "type": "string" } }, "required": [ "app_id", "skill_id" ], "type": "object" }, "name": "mba_get_agent_skill", "outputSchema": null }, { "description": "Read whether this channel has ever been onboarded and whether its agent has ever been activated, as {onboarded, activated_once}. Known limitation: this is NOT a Meta call - it reads this service's own tracking record, written when onboarding or a settings read/write goes through here. It answers 'did onboarding ever succeed' and 'was rollout ever enabled', and nothing about the agent's current configuration. For live state call mba_get_agent_settings.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" } }, "required": [ "app_id" ], "type": "object" }, "name": "mba_get_agent_state", "outputSchema": null }, { "description": "Read the billed usage of a Meta Business Agent account over a billing date range, one entry per HOUR, DAY or MONTH bucket: billable messages, billable tokens, and cost in the account's currency. Returns {usage}; an empty array means no usage in the range. Each entry carries its bucket start and end (Unix seconds, end exclusive), plus channel and sender_id when they are in dimensions. Metrics left out of metric_types are omitted from every entry, not returned as null. Tokens are BILLED tokens, the figure on the invoice, which can be fewer than the tokens the agent consumed. Known limitations: usage insights are ONLY AVAILABLE for numbers whose stack uses its own WABA access token; for any other number this tool returns an error that says so. The range is start INCLUSIVE, end EXCLUSIVE, and dates are evaluated in the billable account's timezone, so a day bucket can be 23 or 25 hours long. MONTH needs a range of whole months: start on the 1st, end on the last day of a month.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "billable_account_id": { "description": "The billable account ID of the Meta Business Agent account. No other tool returns it: Meta Billing Hub shows it under Accounts > Meta Business Agent accounts. It is not the Business Manager ID the budget tools take.", "type": "string" }, "channels": { "description": "Only usage on these messaging surfaces.", "items": { "enum": [ "whatsapp" ], "type": "string" }, "type": "array", "uniqueItems": true }, "dimensions": { "description": "Split each bucket by these axes. Omit to total the whole agent per bucket.", "items": { "enum": [ "channel", "sender_id" ], "type": "string" }, "type": "array", "uniqueItems": true }, "end": { "description": "End of the range, Unix seconds. Exclusive: buckets that start before it.", "type": "integer" }, "granularity": { "description": "Size of each bucket.", "enum": [ "HOUR", "DAY", "MONTH" ], "type": "string" }, "metric_types": { "description": "Which metrics to return. Omit for all of them.", "items": { "enum": [ "billable_messages", "billable_tokens", "cost" ], "type": "string" }, "type": "array", "uniqueItems": true }, "sender_ids": { "description": "Only usage attributed to these sending entities.", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, "start": { "description": "Start of the range, Unix seconds. Inclusive: buckets that start at or after it.", "type": "integer" } }, "required": [ "app_id", "billable_account_id", "start", "end", "granularity" ], "type": "object" }, "name": "mba_get_agent_usage_insights", "outputSchema": null }, { "description": "Read the business information the agent uses to answer customers. Returns empty or default values when none has been configured. Known limitation: business info is a CLOSED six-field schema - business_description, contact_info, delivery_and_shipping, payment_method, purchase_info, return_policy. Any other key is rejected. Knowledge that does not fit one of these six fields belongs in an FAQ (mba_create_faq), an agent skill (mba_create_agent_skill), a crawled website (mba_create_website) or an uploaded file (mba_upload_file) - not here.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" } }, "required": [ "app_id" ], "type": "object" }, "name": "mba_get_business_info", "outputSchema": null }, { "description": "Read one connector by its id, including its connection_status and mTLS metadata. Credentials are never returned - the private key and secrets stay at Meta.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "connector_id": { "description": "Connector id.", "type": "string" } }, "required": [ "app_id", "connector_id" ], "type": "object" }, "name": "mba_get_connector", "outputSchema": null }, { "description": "Read the connector's third-party error logs, or aggregated failure patterns when summary_only is true. Only errors from the third-party system are included, so an empty result means no failures, not no traffic. Known limitation: the time range must not exceed 7 DAYS, and only the last 7 days are retained - start_time defaults to 24 hours ago and end_time to now. Unlike the other list tools this one does return an object: {data: [...], stats: {...}}, with stats present only when include_stats is true.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "connector_id": { "description": "Connector id.", "type": "string" }, "end_time": { "description": "End of the range, Unix seconds.", "type": "integer" }, "include_stats": { "description": "Add aggregate statistics.", "type": "boolean" }, "limit": { "description": "Default 100.", "maximum": 1000, "minimum": 1, "type": "integer" }, "start_time": { "description": "Start of the range, Unix seconds. Must be within the last 7 days.", "type": "integer" }, "summary_only": { "description": "Return failure patterns instead of entries.", "type": "boolean" }, "tool_id": { "description": "Restrict to one connector tool.", "type": "string" }, "top_n": { "description": "Default 10.", "maximum": 50, "minimum": 1, "type": "integer" } }, "required": [ "app_id", "connector_id" ], "type": "object" }, "name": "mba_get_connector_logs", "outputSchema": null }, { "description": "Read one connector tool definition by its id.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "connector_id": { "description": "Connector id.", "type": "string" }, "tool_id": { "description": "Connector tool id.", "type": "string" } }, "required": [ "app_id", "connector_id", "tool_id" ], "type": "object" }, "name": "mba_get_connector_tool", "outputSchema": null }, { "description": "Read how many conversations the agent replied in over a date range (ai_threads), and how many are currently handed from the agent to the business and still awaiting a business reply (ai_handoffs). Counts are per conversation, not per message, and match the business's own agent summaries. Returns {data: [one row]}, each metric as {count}, present only when requested. Known limitation: ai_handoffs is a SNAPSHOT of the present moment - it ignores start_date and end_date. The range may span at most 90 days, counting both ends, and each requested metric costs a separate scan, so ask only for what you need.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "end_date": { "description": "Last day to include, YYYY-MM-DD in the business time zone. Inclusive.", "format": "date", "type": "string" }, "metrics": { "description": "Which metrics to return. Omit for all of them.", "items": { "enum": [ "ai_handoffs", "ai_threads" ], "type": "string" }, "type": "array", "uniqueItems": true }, "start_date": { "description": "First day to include, YYYY-MM-DD in the business time zone. Inclusive.", "format": "date", "type": "string" } }, "required": [ "app_id", "start_date", "end_date" ], "type": "object" }, "name": "mba_get_conversation_insights", "outputSchema": null }, { "description": "Read the ordered turns of the most recent conversation between the agent and one customer. Each turn carries its turn_id, conversation_id and the observed steps - LLM calls with a preview of the model output, and tool calls with the tool name, input and output - plus latency and status where available. Use it to see why the agent answered the way it did. Malformed records, and tool responses that cannot be matched to a tool call, may be missing. This list is CURSOR-PAGINATED: it returns {data, paging} - page with the `after` cursor from paging.cursors, and stop when paging carries no `next` link, because a page can be empty and still have more after it.", "inputSchema": { "additionalProperties": false, "properties": { "after": { "description": "Cursor - return the page immediately after it.", "type": "string" }, "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "before": { "description": "Cursor - return the page immediately before it.", "type": "string" }, "end_timestamp_ms": { "description": "Only turns that started at or before this Unix time in milliseconds.", "type": "integer" }, "limit": { "description": "Maximum entries per page. A page can be shorter.", "minimum": 1, "type": "integer" }, "start_timestamp_ms": { "description": "Only turns that started at or after this Unix time in milliseconds.", "type": "integer" }, "user_phone_number": { "description": "The customer: a phone number in digits only with the country code (15551234567, no + or separators), a Business-Scoped User ID such as US.2788620304833812, or the conversation_id returned by test_agent. Prefer the BSUID for a customer who has ever used a WhatsApp username - their phone number may be unknown, which returns Consumer not found.", "type": "string" } }, "required": [ "app_id", "user_phone_number" ], "type": "object" }, "name": "mba_get_conversation_turns", "outputSchema": null }, { "description": "Read per-conversation evaluation results - scores, per-turn labels, reasons and the transcript. Takes eval_ids, which is a different kind of id from the job_id that mba_get_eval_results takes. Read them from the eval_ids_by_score field of a completed job. mba_get_eval_results already adds these details when it can read that field, so call this tool when it could not.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "eval_ids": { "description": "Comma-separated evaluation ids.", "type": "string" } }, "required": [ "app_id", "eval_ids" ], "type": "object" }, "name": "mba_get_eval_details", "outputSchema": null }, { "description": "Read an evaluation job by its job_id. While the job runs this gives the status (QUEUED or RUNNING) and the progress. When the job fails it gives the error. When the job completes it gives the aggregated report: the summary text, the average conversation and turn scores, the highlights and the top failure categories. There is no separate summary call: a completed job already carries that report. For the per-conversation transcripts and per-turn labels, take the ids from `eval_ids_by_score` and call mba_get_eval_details. This tool adds a `details` key when it can read those ids for you.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "job_id": { "description": "Job id returned by start_eval_run.", "type": "string" } }, "required": [ "app_id", "job_id" ], "type": "object" }, "name": "mba_get_eval_results", "outputSchema": null }, { "description": "Read one FAQ entry by its id, as returned by mba_list_faqs or mba_create_faq.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "faq_id": { "description": "FAQ entry id.", "type": "string" } }, "required": [ "app_id", "faq_id" ], "type": "object" }, "name": "mba_get_faq", "outputSchema": null }, { "description": "Read one knowledge file's metadata by its id. Returns {id, file_name} - this returns metadata only, not the file's contents.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "file_id": { "description": "Knowledge file id.", "type": "string" } }, "required": [ "app_id", "file_id" ], "type": "object" }, "name": "mba_get_file", "outputSchema": null }, { "description": "Read how each of the business's own tools performed over a date range, one row per tool, busiest first: how many conversations called it, its mean latency, and its success, error and timeout rates (0 to 1; timeouts count as errors too). Only tools the business supplied are reported. thread_count counts a conversation once per day, so one that called the tool on three days counts three times. Figures are rolled up once a day, so the most recent day may still be incomplete. Known limitation: the range may span at most 30 days, counting both ends.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "end_date": { "description": "Last day to include, YYYY-MM-DD in the business time zone. Inclusive.", "format": "date", "type": "string" }, "start_date": { "description": "First day to include, YYYY-MM-DD in the business time zone. Inclusive.", "format": "date", "type": "string" }, "tool_name": { "description": "Return only this tool, named as it was registered. Omit for every tool called.", "type": "string" } }, "required": [ "app_id", "start_date", "end_date" ], "type": "object" }, "name": "mba_get_tool_call_insights", "outputSchema": null }, { "description": "Read one UI skill by its id, as returned by mba_list_ui_skills or mba_create_ui_skill. A UI skill is NOT an agent skill (mba_list_agent_skills): an agent skill is instruction text that shapes what the agent says, a UI skill lets the agent send one kind of rich WhatsApp component and tells it when to send that component.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "instruction_id": { "description": "UI skill id.", "type": "string" } }, "required": [ "app_id", "instruction_id" ], "type": "object" }, "name": "mba_get_ui_skill", "outputSchema": null }, { "description": "Read one website crawl entry by its id, including crawl_status, pages_crawled and last_crawled_at. This is how you check whether a site added with mba_create_website has been ingested yet.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "website_id": { "description": "Website entry id.", "type": "string" } }, "required": [ "app_id", "website_id" ], "type": "object" }, "name": "mba_get_website", "outputSchema": null }, { "description": "List the agent's skills - the instruction texts that shape how it behaves. Known limitation: this returns a BARE ARRAY, not an object with a `data` key.", "inputSchema": { "additionalProperties": false, "properties": { "agent_id": { "description": "Optional - restrict the list to one agent.", "type": "string" }, "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" } }, "required": [ "app_id" ], "type": "object" }, "name": "mba_list_agent_skills", "outputSchema": null }, { "description": "List the consumer phone numbers allowed to reach the agent while ai_audience is ALLOWLISTED_ONLY. Known limitation: this returns a BARE ARRAY of {id, consumer_phone_number}, not an object with a `data` key.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" } }, "required": [ "app_id" ], "type": "object" }, "name": "mba_list_allowlist_entries", "outputSchema": null }, { "description": "List the actions defined on one connector. Known limitation: this returns a BARE ARRAY, not an object with a `data` key.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "connector_id": { "description": "Connector id.", "type": "string" } }, "required": [ "app_id", "connector_id" ], "type": "object" }, "name": "mba_list_connector_tools", "outputSchema": null }, { "description": "List the agent's connectors - the third-party systems it can call. Each carries a connection_status (PENDING_OAUTH, ACTIVE, EXPIRED or ERROR) worth checking before relying on its tools. Known limitation: this returns a BARE ARRAY, not an object with a `data` key.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" } }, "required": [ "app_id" ], "type": "object" }, "name": "mba_list_connectors", "outputSchema": null }, { "description": "List the evaluation scenarios configured for this agent, each with its scenario text, categories, max_turns and success criteria. Their ids are what mba_start_eval_run takes.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" } }, "required": [ "app_id" ], "type": "object" }, "name": "mba_list_eval_cases", "outputSchema": null }, { "description": "List the agent's FAQ entries. Known limitation: this returns a BARE ARRAY, not an object with a `data` key.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" } }, "required": [ "app_id" ], "type": "object" }, "name": "mba_list_faqs", "outputSchema": null }, { "description": "List the files in the agent's knowledge base, as {id, file_name}. Known limitation: this returns a BARE ARRAY, not an object with a `data` key.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" } }, "required": [ "app_id" ], "type": "object" }, "name": "mba_list_files", "outputSchema": null }, { "description": "List the agent's UI skills - the rich WhatsApp components (carousels, CTA URLs, flows, images, interactive lists and buttons, location) the agent may send, each with the instruction that says when to send it. A UI skill is NOT an agent skill (mba_list_agent_skills): an agent skill is instruction text that shapes what the agent says, a UI skill lets the agent send one kind of rich WhatsApp component and tells it when to send that component. This list is CURSOR-PAGINATED: it returns {data, paging} - page with the `after` cursor from paging.cursors, and stop when paging carries no `next` link, because a page can be empty and still have more after it.", "inputSchema": { "additionalProperties": false, "properties": { "after": { "description": "Cursor - return the page immediately after it.", "type": "string" }, "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "before": { "description": "Cursor - return the page immediately before it.", "type": "string" }, "limit": { "description": "Maximum entries per page. A page can be shorter.", "minimum": 1, "type": "integer" } }, "required": [ "app_id" ], "type": "object" }, "name": "mba_list_ui_skills", "outputSchema": null }, { "description": "List the websites the agent crawls for knowledge, with their crawl status. Known limitation: this returns a BARE ARRAY, not an object with a `data` key.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" } }, "required": [ "app_id" ], "type": "object" }, "name": "mba_list_websites", "outputSchema": null }, { "description": "Create the Meta Business Agent for this channel on the given messaging channel. Creates the underlying entities and schedules asynchronous data-preparation jobs, so the agent is not immediately ready to answer. Returns {agent_id}. Onboarding does not switch the agent on: rollout stays disabled until mba_update_agent_settings enables it.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "channel": { "description": "Messaging channel to onboard.", "enum": [ "whatsapp", "messenger", "instagram", "email", "line", "sms", "tiktok", "webchat", "unknown" ], "type": "string" } }, "required": [ "app_id", "channel" ], "type": "object" }, "name": "mba_onboard_agent", "outputSchema": null }, { "description": "Hand a consumer conversation back to the Meta Business Agent as the automatic responder, after a human agent has taken it over. Only releasing is supported here - taking control is restricted to configured escalation partners.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "to": { "description": "Consumer's WhatsApp number in E.164 format.", "type": "string" } }, "required": [ "app_id", "to" ], "type": "object" }, "name": "mba_release_thread_control", "outputSchema": null }, { "description": "Remove one entry from the allowlist by its entry id, which comes from mba_list_allowlist_entries (it is not the phone number). Returns no content on success. While ai_audience is ALLOWLISTED_ONLY, removing the entry stops the agent answering that consumer.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "entry_id": { "description": "Allowlist entry id, as returned by list_allowlist_entries.", "type": "string" } }, "required": [ "app_id", "entry_id" ], "type": "object" }, "name": "mba_remove_allowlist_entry", "outputSchema": null }, { "description": "Set the usage caps for the agent. Returns the caps in force after the write. This is a FULL REPLACEMENT of the set: send again every cap to keep, because any cap left out is removed, and an empty array clears all caps and returns the agent to unlimited. To edit an existing cap, pass back its budget_id from mba_get_agent_budgets; omit budget_id to add a new cap. Two caps with the same unit_type and time_window pair are rejected. Known limitations: budgets are ONLY SERVED for the business that owns this number's WABA; any other business_id is refused with an error that says so. For a number whose business is not known to 360dialog yet, budgets are not available and this tool returns an error that says so. When several caps are set, whichever is reached first stops the agent until its window resets, and the agent then hands conversations to the business. Token caps apply across the WHOLE BUSINESS MANAGER, so every agent in that portfolio shares them; AI-turn caps apply per conversation. These tools set and read caps and do not report usage against them: mba_get_agent_usage_insights reports billed usage, keyed on the billable account ID and not on business_id.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "budgets": { "description": "The complete set of caps. An empty array removes every cap.", "items": { "additionalProperties": false, "properties": { "budget_id": { "description": "The id get_agent_budgets returned for an existing cap. Pass it to edit or keep that cap; omit it to add a new cap.", "type": "string" }, "max_budget": { "description": "The maximum usage, in unit_type, within time_window.", "minimum": 1, "type": "integer" }, "time_window": { "description": "The rolling period usage is totalled over, in the timezone of the WABA.", "enum": [ "one_day", "seven_days", "fourteen_days", "thirty_days" ], "type": "string" }, "unit_type": { "description": "What the cap measures: token usage or AI agent turns.", "enum": [ "token", "ai_turn" ], "type": "string" } }, "required": [ "unit_type", "time_window", "max_budget" ], "type": "object" }, "type": "array" }, "business_id": { "description": "The Meta Business Manager ID of the business that owns this number's WABA. No other tool returns it: it is the WABA's owner business in Meta Business Suite, and the 360dialog hub shows it on the channel.", "type": "string" } }, "required": [ "app_id", "business_id", "budgets" ], "type": "object" }, "name": "mba_replace_agent_budgets", "outputSchema": null }, { "description": "Reset the agent's business information to empty defaults and return the emptied object. Unlike most deletes this does not 404 afterwards - mba_get_business_info keeps working and returns the defaults. Known limitation: business info is a CLOSED six-field schema - business_description, contact_info, delivery_and_shipping, payment_method, purchase_info, return_policy. Any other key is rejected. Knowledge that does not fit one of these six fields belongs in an FAQ (mba_create_faq), an agent skill (mba_create_agent_skill), a crawled website (mba_create_website) or an uploaded file (mba_upload_file) - not here.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" } }, "required": [ "app_id" ], "type": "object" }, "name": "mba_reset_business_info", "outputSchema": null }, { "description": "Execute one connector tool once, as the agent would, and return what the third-party system answered. Use it to check a definition works before relying on it. `input` is a JSON-ENCODED STRING of the arguments, not an object. Known limitation: the result is DOUBLY STRINGIFIED - the response is {output, status} where `output` is a JSON string; parse `output`, then parse its `.body` to reach the third-party system's actual response. What this call does depends entirely on the tool being run: it can create, change or delete data in the connected system.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "connector_id": { "description": "Connector id.", "type": "string" }, "input": { "description": "Arguments as a JSON-encoded string, e.g. '{\"order_id\":\"123\"}'. Defaults to an empty object.", "type": "string" }, "tool_id": { "description": "Connector tool id.", "type": "string" } }, "required": [ "app_id", "connector_id", "tool_id" ], "type": "object" }, "name": "mba_run_connector_tool", "outputSchema": null }, { "description": "Trigger the agent to act on a consumer conversation asynchronously - the event is queued and the call returns immediately with status \"accepted\" and an agent_event_id. Poll mba_get_agent_event with that id to find out what happened; a 202-style acknowledgement here does not mean the consumer was messaged. Known limitation: event.payload must be a JSON-ESCAPED STRING, not an object - pass \"{\\\"order_id\\\":\\\"123\\\"}\", not {\"order_id\": \"123\"}. Maximum 4096 characters.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "event": { "additionalProperties": false, "properties": { "description": { "description": "What happened, in words the agent can act on (max 1024 characters).", "type": "string" }, "payload": { "description": "Opaque JSON-ENCODED STRING passed to the agent as-is (max 4096 characters).", "type": "string" }, "type": { "description": "Event type (max 256 characters).", "type": "string" } }, "required": [ "type", "description", "payload" ], "type": "object" }, "to": { "description": "Consumer's WhatsApp number in E.164 format.", "type": "string" } }, "required": [ "app_id", "to", "event" ], "type": "object" }, "name": "mba_send_agent_event", "outputSchema": null }, { "description": "Send a WhatsApp message to a consumer and release thread control back to the agent. The body is the WhatsApp Cloud API message object - set `type` and the matching payload key (text, template, interactive, image, ...). This messages a real person: it is subject to the platform's send eligibility rules, and outside a 24-hour customer service window only an approved template will be delivered.", "inputSchema": { "additionalProperties": true, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "recipient_type": { "description": "Defaults to individual.", "type": "string" }, "template": { "description": "Used when type is template.", "type": "object" }, "text": { "description": "Used when type is text, e.g. {\"body\": \"Hello\"}.", "type": "object" }, "to": { "description": "Consumer's WhatsApp number in E.164 format.", "type": "string" }, "type": { "description": "Message type, e.g. text, template, interactive, image.", "type": "string" } }, "required": [ "app_id", "to", "type" ], "type": "object" }, "name": "mba_send_message", "outputSchema": null }, { "description": "Submit an evaluation job that simulates the listed cases against the agent, evaluates the conversations and optionally produces insights. Returns {job_id, status: QUEUED} - the work is asynchronous, so poll mba_get_eval_results with the job_id. Known limitation: eval_case_ids is read from the QUERY STRING, not the request body - pass it as the comma-separated argument here and this service puts it in the right place; the body is a separate object that accepts nothing else.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "eval_case_ids": { "description": "Comma-separated eval case ids from list_eval_cases.", "type": "string" } }, "required": [ "app_id", "eval_case_ids" ], "type": "object" }, "name": "mba_start_eval_run", "outputSchema": null }, { "description": "Send a test message through the full agent pipeline and read its reply, without needing a real consumer number. Pass conversation_id from a previous reply to continue the same test conversation. Known limitation: while ai_audience is ALLOWLISTED_ONLY this returns agent_response: \"\" with no_response_reason: \"ELIGIBILITY_CHECK_FAILED\", no matter which consumer number is involved - check mba_get_agent_settings before concluding the agent is broken.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "conversation_id": { "description": "Optional - continue an existing test conversation.", "type": "string" }, "user_msg": { "description": "The message to send to the agent.", "type": "string" } }, "required": [ "app_id", "user_msg" ], "type": "object" }, "name": "mba_test_agent", "outputSchema": null }, { "description": "Replace the agent's settings and return the updated entry. Known limitation: this is a FULL REPLACEMENT, not a patch - every field you omit is reset, so read the current settings with mba_get_agent_settings first and send them back with your change applied. Note also that setting rollout.enabled to false stops the AI responding on all threads; re-enabling it makes the AI respond to new threads only, not to threads that were already open.", "inputSchema": { "additionalProperties": false, "properties": { "agent_id": { "description": "Optional - restrict the update to one agent.", "type": "string" }, "ai_audience": { "description": "ALLOWLISTED_ONLY restricts the agent to the numbers on the allowlist.", "enum": [ "ALLOWLISTED_ONLY", "EVERYONE" ], "type": "string" }, "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "followup": { "additionalProperties": false, "description": "Following up with an inactive user.", "properties": { "enabled": { "type": "boolean" }, "followup_interval_in_seconds": { "enum": [ 0, 300, 900, 1800, 3600, 7200, 28800, 86400 ], "type": "integer" }, "message": { "type": "string" } }, "required": [ "enabled" ], "type": "object" }, "handoff": { "additionalProperties": false, "description": "Handing the conversation to a human agent.", "properties": { "enabled": { "type": "boolean" }, "message": { "type": "string" } }, "required": [ "enabled" ], "type": "object" }, "rollout": { "additionalProperties": false, "description": "Whether the agent responds at all. Disabling it stops the AI answering on every thread.", "properties": { "enabled": { "type": "boolean" } }, "required": [ "enabled" ], "type": "object" } }, "required": [ "app_id" ], "type": "object" }, "name": "mba_update_agent_settings", "outputSchema": null }, { "description": "Replace one agent skill by its id. This replaces the skill rather than patching it, so send the title, description and skill text you want it to end up with.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "description": { "description": "What the skill is for (max 1024 characters).", "type": "string" }, "skill": { "description": "The instruction text the agent follows (max 20000 characters).", "type": "string" }, "skill_id": { "description": "Agent skill id.", "type": "string" }, "title": { "description": "Short name for the skill (max 64 characters).", "type": "string" } }, "required": [ "app_id", "skill_id" ], "type": "object" }, "name": "mba_update_agent_skill", "outputSchema": null }, { "description": "Replace the agent's business information and return the stored object. Known limitation: this is a FULL REPLACEMENT - fields you omit are cleared, so read mba_get_business_info first and send the existing values back with your change applied. Known limitation: business info is a CLOSED six-field schema - business_description, contact_info, delivery_and_shipping, payment_method, purchase_info, return_policy. Any other key is rejected. Knowledge that does not fit one of these six fields belongs in an FAQ (mba_create_faq), an agent skill (mba_create_agent_skill), a crawled website (mba_create_website) or an uploaded file (mba_upload_file) - not here.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "business_description": { "description": "What the business does.", "type": "string" }, "contact_info": { "additionalProperties": false, "description": "Contact and location details.", "properties": { "address": { "type": "string" }, "email": { "type": "string" }, "hours_of_operation": { "type": "string" } }, "type": "object" }, "delivery_and_shipping": { "description": "Delivery and shipping terms.", "type": "string" }, "payment_method": { "description": "Accepted payment methods.", "type": "string" }, "purchase_info": { "description": "How customers buy.", "type": "string" }, "return_policy": { "description": "Returns and refunds.", "type": "string" } }, "required": [ "app_id" ], "type": "object" }, "name": "mba_update_business_info", "outputSchema": null }, { "description": "Replace one connector by its id. This replaces the connector rather than patching it, so send the full definition you want it to end up with - read mba_get_connector first.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "auth_config": { "additionalProperties": false, "description": "Credentials matching auth_type: `api_key` when auth_type is API_KEY, `oauth2_client_credentials` when it is OAUTH2_CLIENT_CREDENTIALS. Credentials can also be set later with upsert_connector_api_key or upsert_connector_oauth.", "properties": { "api_key": { "additionalProperties": false, "description": "Where the API key is injected. Supply at least one of headers, query_params, body_params.", "properties": { "body_params": { "items": { "additionalProperties": false, "properties": { "field_name": { "description": "Header, query or body field name.", "type": "string" }, "prefix": { "description": "Optional prefix, e.g. 'Bearer '.", "type": "string" }, "value": { "description": "The credential value.", "type": "string" } }, "required": [ "field_name", "value" ], "type": "object" }, "type": "array" }, "headers": { "items": { "additionalProperties": false, "properties": { "field_name": { "description": "Header, query or body field name.", "type": "string" }, "prefix": { "description": "Optional prefix, e.g. 'Bearer '.", "type": "string" }, "value": { "description": "The credential value.", "type": "string" } }, "required": [ "field_name", "value" ], "type": "object" }, "type": "array" }, "query_params": { "items": { "additionalProperties": false, "properties": { "field_name": { "description": "Header, query or body field name.", "type": "string" }, "prefix": { "description": "Optional prefix, e.g. 'Bearer '.", "type": "string" }, "value": { "description": "The credential value.", "type": "string" } }, "required": [ "field_name", "value" ], "type": "object" }, "type": "array" } }, "type": "object" }, "oauth2_client_credentials": { "additionalProperties": false, "description": "OAuth 2.0 client credentials.", "properties": { "client_id": { "type": "string" }, "client_secret": { "type": "string" }, "scopes_to_request": { "items": { "type": "string" }, "type": "array" }, "token_request_content_type": { "enum": [ "application/x-www-form-urlencoded", "application/json" ], "type": "string" }, "token_url": { "type": "string" } }, "required": [ "token_url", "client_id", "client_secret", "scopes_to_request" ], "type": "object" } }, "type": "object" }, "auth_type": { "description": "How the connected system authenticates.", "enum": [ "OAUTH2", "OAUTH2_CLIENT_CREDENTIALS", "API_KEY", "BASIC", "CUSTOM", "NONE" ], "type": "string" }, "base_url": { "description": "Base URL every tool on this connector calls.", "type": "string" }, "connector_id": { "description": "Connector id.", "type": "string" }, "description": { "description": "What the connected system does.", "type": "string" }, "name": { "description": "Name of the connector.", "type": "string" }, "requires_certificate": { "description": "True when the system needs mTLS; upload the certificate with upsert_connector_certificate.", "type": "boolean" }, "user_auth_injection_config": { "description": "Optional configuration for injecting a per-user token into tool requests.", "type": "object" } }, "required": [ "app_id", "connector_id", "name", "description", "base_url", "auth_type" ], "type": "object" }, "name": "mba_update_connector", "outputSchema": null }, { "description": "Replace one connector tool definition by its id. This replaces the definition rather than patching it, so send the whole request_definition you want it to end up with - read mba_get_connector_tool first. Known limitation: path_parameters, query_parameters and headers are NAME-TO-SCHEMA OBJECTS, not arrays - write {\"order_id\": {\"type\": \"string\"}}, never [{\"name\": \"order_id\", ...}]. And every {brace} token in `path` must have a matching key in path_parameters, or the definition is rejected.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "connector_id": { "description": "Connector id.", "type": "string" }, "description": { "description": "What the action does - the agent uses this to decide when to call it.", "type": "string" }, "name": { "description": "Name the agent sees for this action.", "type": "string" }, "request_definition": { "additionalProperties": false, "description": "The outbound HTTP request this tool makes, relative to the connector's base_url.", "properties": { "body": { "additionalProperties": false, "description": "Omit when the request has no body.", "properties": { "content_type": { "enum": [ "application/json" ], "type": "string" }, "params": { "additionalProperties": { "additionalProperties": false, "description": "Schema for one request body field or container.", "properties": { "binding": { "additionalProperties": false, "description": "Fixes the value instead of letting the agent supply it. Omit for agent-supplied input. Not allowed on an object or array node.", "properties": { "kind": { "enum": [ "default", "macro" ], "type": "string" }, "macro": { "description": "Used when kind is 'macro'.", "enum": [ "WHATSAPP_PHONE_NUMBER", "WHATSAPP_IDENTITY_HASH", "WHATSAPP_CURRENT_STATUS_ID" ], "type": "string" }, "value": { "description": "Used when kind is 'default'.", "type": "string" } }, "required": [ "kind" ], "type": "object" }, "description": { "type": "string" }, "items": { "type": "string" }, "properties": { "additionalProperties": { "type": "string" }, "type": "object" }, "required": { "items": { "type": "string" }, "type": "array" }, "type": { "enum": [ "object", "array", "string", "integer", "number", "boolean" ], "type": "string" } }, "required": [ "type" ], "type": "object" }, "type": "object" }, "required": { "items": { "type": "string" }, "type": "array" } }, "required": [ "content_type", "params" ], "type": "object" }, "headers": { "additionalProperties": { "additionalProperties": false, "description": "Schema for one path, query or header parameter.", "properties": { "binding": { "additionalProperties": false, "description": "Fixes the value instead of letting the agent supply it. Omit for agent-supplied input. Not allowed on an object or array node.", "properties": { "kind": { "enum": [ "default", "macro" ], "type": "string" }, "macro": { "description": "Used when kind is 'macro'.", "enum": [ "WHATSAPP_PHONE_NUMBER", "WHATSAPP_IDENTITY_HASH", "WHATSAPP_CURRENT_STATUS_ID" ], "type": "string" }, "value": { "description": "Used when kind is 'default'.", "type": "string" } }, "required": [ "kind" ], "type": "object" }, "description": { "type": "string" }, "required": { "type": "boolean" }, "type": { "enum": [ "string", "integer", "number", "boolean" ], "type": "string" } }, "required": [ "type" ], "type": "object" }, "description": "Object keyed by parameter NAME, each value a parameter schema. Not an array.", "type": "object" }, "method": { "enum": [ "GET", "POST", "PUT", "DELETE", "PATCH" ], "type": "string" }, "path": { "description": "Path template. Every {placeholder} needs a matching key in path_parameters.", "type": "string" }, "path_parameters": { "additionalProperties": { "additionalProperties": false, "description": "Schema for one path, query or header parameter.", "properties": { "binding": { "additionalProperties": false, "description": "Fixes the value instead of letting the agent supply it. Omit for agent-supplied input. Not allowed on an object or array node.", "properties": { "kind": { "enum": [ "default", "macro" ], "type": "string" }, "macro": { "description": "Used when kind is 'macro'.", "enum": [ "WHATSAPP_PHONE_NUMBER", "WHATSAPP_IDENTITY_HASH", "WHATSAPP_CURRENT_STATUS_ID" ], "type": "string" }, "value": { "description": "Used when kind is 'default'.", "type": "string" } }, "required": [ "kind" ], "type": "object" }, "description": { "type": "string" }, "required": { "type": "boolean" }, "type": { "enum": [ "string", "integer", "number", "boolean" ], "type": "string" } }, "required": [ "type" ], "type": "object" }, "description": "Object keyed by parameter NAME, each value a parameter schema. Not an array.", "type": "object" }, "query_parameters": { "additionalProperties": { "additionalProperties": false, "description": "Schema for one path, query or header parameter.", "properties": { "binding": { "additionalProperties": false, "description": "Fixes the value instead of letting the agent supply it. Omit for agent-supplied input. Not allowed on an object or array node.", "properties": { "kind": { "enum": [ "default", "macro" ], "type": "string" }, "macro": { "description": "Used when kind is 'macro'.", "enum": [ "WHATSAPP_PHONE_NUMBER", "WHATSAPP_IDENTITY_HASH", "WHATSAPP_CURRENT_STATUS_ID" ], "type": "string" }, "value": { "description": "Used when kind is 'default'.", "type": "string" } }, "required": [ "kind" ], "type": "object" }, "description": { "type": "string" }, "required": { "type": "boolean" }, "type": { "enum": [ "string", "integer", "number", "boolean" ], "type": "string" } }, "required": [ "type" ], "type": "object" }, "description": "Object keyed by parameter NAME, each value a parameter schema. Not an array.", "type": "object" } }, "required": [ "method", "path" ], "type": "object" }, "tool_id": { "description": "Connector tool id.", "type": "string" }, "user_auth_action_config": { "description": "Optional login/refresh response extraction config, for user-auth actions.", "type": "object" }, "user_auth_required": { "description": "True when the call needs a per-user token rather than the connector's own credentials.", "type": "boolean" } }, "required": [ "app_id", "connector_id", "tool_id", "name", "description", "request_definition", "user_auth_required" ], "type": "object" }, "name": "mba_update_connector_tool", "outputSchema": null }, { "description": "Replace one FAQ entry by its id. Both question and answer are required: this replaces the entry rather than patching it, so send the fields you want the entry to end up with.", "inputSchema": { "additionalProperties": false, "properties": { "answer": { "type": "string" }, "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "faq_id": { "description": "FAQ entry id.", "type": "string" }, "metadata": { "description": "Optional free-form metadata.", "type": "object" }, "question": { "type": "string" } }, "required": [ "app_id", "faq_id", "question", "answer" ], "type": "object" }, "name": "mba_update_faq", "outputSchema": null }, { "description": "Change the title, the status or the instruction of one UI skill by its id. This is a partial update: a field you omit keeps its stored value. Use it to enable or disable a component without deleting it. A UI skill is NOT an agent skill (mba_list_agent_skills): an agent skill is instruction text that shapes what the agent says, a UI skill lets the agent send one kind of rich WhatsApp component and tells it when to send that component. Known limitation: component_type and flow_id cannot be changed - delete the UI skill and create a new one instead. A flow UI skill cannot be enabled until its flow is published.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "instruction": { "description": "Tells the agent when to send this component, e.g. 'Send this when the customer asks to browse the catalog'.", "type": "string" }, "instruction_id": { "description": "UI skill id.", "type": "string" }, "status": { "description": "Whether the agent may send this component. Only an enabled UI skill is available to the agent.", "enum": [ "enabled", "disabled" ], "type": "string" }, "title": { "description": "Human-readable name for the UI skill.", "type": "string" } }, "required": [ "app_id", "instruction_id" ], "type": "object" }, "name": "mba_update_ui_skill", "outputSchema": null }, { "description": "Replace the URL of one website crawl entry. Changing the URL restarts crawling.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "url": { "type": "string" }, "website_id": { "description": "Website entry id.", "type": "string" } }, "required": [ "app_id", "website_id", "url" ], "type": "object" }, "name": "mba_update_website", "outputSchema": null }, { "description": "Upload a file into the agent's knowledge base. Multipart uploads cannot travel over MCP, so pass the file EITHER as `url` (a publicly reachable https URL this service downloads) OR as `content_base64` (the file's bytes, base64-encoded) - exactly one of the two, always with `file_name`. This service performs the multipart upload to Meta for you and returns the created {id, file_name}. Known limitations: Meta caps a file at 100 MB and accepts PDF, DOC, DOCX, PNG, JPG and JPEG (CSV and XLSX where enabled). Base64 content is additionally capped by this endpoint's request size limit, so prefer `url` for anything larger than a few megabytes. A `url` must be https and must resolve to a public address - private, loopback and link-local addresses are refused.", "inputSchema": { "additionalProperties": false, "oneOf": [ { "required": [ "url" ] }, { "required": [ "content_base64" ] } ], "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "content_base64": { "description": "The file's bytes, base64-encoded. Use `url` instead for large files.", "type": "string" }, "file_name": { "description": "Name to store the file under, including its extension, e.g. 'returns-policy.pdf'.", "type": "string" }, "url": { "description": "Publicly reachable https URL to download the file from.", "type": "string" } }, "required": [ "app_id", "file_name" ], "type": "object" }, "name": "mba_upload_file", "outputSchema": null }, { "description": "Set or rotate the API key credentials for a connector. This is an upsert: if credentials already exist they are REPLACED and the connection is re-established. It cannot be used to remove credentials - the payload is required.", "inputSchema": { "additionalProperties": false, "properties": { "api_key_config": { "additionalProperties": false, "description": "Where the API key is injected. Supply at least one of headers, query_params, body_params.", "properties": { "body_params": { "items": { "additionalProperties": false, "properties": { "field_name": { "description": "Header, query or body field name.", "type": "string" }, "prefix": { "description": "Optional prefix, e.g. 'Bearer '.", "type": "string" }, "value": { "description": "The credential value.", "type": "string" } }, "required": [ "field_name", "value" ], "type": "object" }, "type": "array" }, "headers": { "items": { "additionalProperties": false, "properties": { "field_name": { "description": "Header, query or body field name.", "type": "string" }, "prefix": { "description": "Optional prefix, e.g. 'Bearer '.", "type": "string" }, "value": { "description": "The credential value.", "type": "string" } }, "required": [ "field_name", "value" ], "type": "object" }, "type": "array" }, "query_params": { "items": { "additionalProperties": false, "properties": { "field_name": { "description": "Header, query or body field name.", "type": "string" }, "prefix": { "description": "Optional prefix, e.g. 'Bearer '.", "type": "string" }, "value": { "description": "The credential value.", "type": "string" } }, "required": [ "field_name", "value" ], "type": "object" }, "type": "array" } }, "type": "object" }, "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "connector_id": { "description": "Connector id.", "type": "string" } }, "required": [ "app_id", "connector_id", "api_key_config" ], "type": "object" }, "name": "mba_upsert_connector_api_key", "outputSchema": null }, { "description": "Upload or rotate the mTLS client certificate for a connector. This is an upsert: if credentials already exist they are REPLACED and the connection is re-established. It cannot be used to remove credentials - the payload is required. Certificates and keys are PEM-encoded; the private key is never returned by any read tool.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "ca_certificate": { "description": "Optional PEM-encoded CA certificate.", "type": "string" }, "client_certificate": { "description": "PEM-encoded client certificate.", "type": "string" }, "client_key": { "description": "PEM-encoded private key (PKCS8, RSA or EC).", "type": "string" }, "connector_id": { "description": "Connector id.", "type": "string" } }, "required": [ "app_id", "connector_id", "client_certificate", "client_key" ], "type": "object" }, "name": "mba_upsert_connector_certificate", "outputSchema": null }, { "description": "Set or rotate the OAuth 2.0 client credentials for a connector. This is an upsert: if credentials already exist they are REPLACED and the connection is re-established. It cannot be used to remove credentials - the payload is required.", "inputSchema": { "additionalProperties": false, "properties": { "app_id": { "description": "The 360dialog channel's app_id. Identifies which WhatsApp number the agent belongs to.", "type": "string" }, "connector_id": { "description": "Connector id.", "type": "string" }, "oauth_config": { "additionalProperties": false, "description": "OAuth 2.0 client credentials.", "properties": { "client_id": { "type": "string" }, "client_secret": { "type": "string" }, "scopes_to_request": { "items": { "type": "string" }, "type": "array" }, "token_request_content_type": { "enum": [ "application/x-www-form-urlencoded", "application/json" ], "type": "string" }, "token_url": { "type": "string" } }, "required": [ "token_url", "client_id", "client_secret", "scopes_to_request" ], "type": "object" } }, "required": [ "app_id", "connector_id", "oauth_config" ], "type": "object" }, "name": "mba_upsert_connector_oauth", "outputSchema": null }, { "description": "Check whether numbers can move to a new partner, without creating a request. Runs the same pre-flight checks\nas 'create_partner_change_request' and reports every issue that would block the move (for example a number\nthat cannot move, a missing company detail, or a request that is already in progress).\n\nNothing is created or changed. Show the result to the user, then, if it is clear, call\n'create_partner_change_request' with the same arguments.", "inputSchema": { "additionalProperties": false, "properties": { "channel_bundles": { "anyOf": [ { "items": { "additionalProperties": false, "description": "Which payment plan (bundle) of the new partner a number moves onto. Needed when the new partner bills clients.", "properties": { "bundle_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "ID of the new partner's payment plan for this number." }, "channel_id": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^.*ch$", "type": "string" } }, "required": [ "channel_id" ], "type": "object" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Optional. Which payment plan of the new partner each number moves onto. Only needed when the new partner bills its clients." }, "channel_ids": { "description": "IDs of the numbers (channels) to move. Use 'list_channels' to find them. All numbers of a WABA have to move together.", "items": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^.*ch$", "type": "string" }, "minItems": 1, "type": "array" }, "target_client_id": { "anyOf": [ { "maxLength": 10, "minLength": 10, "pattern": "(?i)^.*cl$", "type": "string" }, { "type": "null" } ], "default": null, "description": "Optional. ID of an existing client at the new partner to move the numbers into. Only for a partial move (not all numbers of the client). Needs to end with 'CL'." }, "target_partner_id": { "description": "ID of the partner the numbers should move to. Needs to end with 'PA'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^.*pa$", "type": "string" } }, "required": [ "target_partner_id", "channel_ids" ], "type": "object" }, "name": "preview_partner_change_request", "outputSchema": { "properties": { "actions_required": { "items": { "properties": { "action_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "metadata": { "additionalProperties": true, "default": {}, "type": "object" }, "type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "type": "array" }, "message": { "type": "string" }, "ready": { "type": "boolean" } }, "required": [ "ready", "actions_required", "message" ], "type": "object" } }, { "description": "Request an OTP code.\n\nSometimes OTP is needed to complete invoking a tool. When tool invocation fails due to OTP reasons, you will be\nnotified in the tool response, and be asked to rqeuest an OTP code.\n\nOnly call after a tool call fails due to OTP. In clients that show apps, the user enters the code in a card\nshown with the result, and the result says so.", "inputSchema": { "additionalProperties": false, "properties": {}, "type": "object" }, "name": "request_otp", "outputSchema": { "properties": { "expires_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "message": { "type": "string" }, "pending_tool": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "pending_tool_title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "requested": { "type": "boolean" } }, "required": [ "requested", "message" ], "type": "object" } }, { "description": "Complete a phone number's registration. This will get you the API key to use when sending messages from the 360Dialog sandbox phone number to the user's registered phone number.", "inputSchema": { "additionalProperties": false, "properties": {}, "type": "object" }, "name": "sandbox_complete_registration", "outputSchema": { "properties": { "api_key": { "type": "string" }, "mdn": { "type": "string" }, "messages_left": { "type": "integer" } }, "required": [ "mdn", "api_key", "messages_left" ], "type": "object" } }, { "description": "Set webhook for the channel on 360Dialog sandbox. Optional.", "inputSchema": { "additionalProperties": false, "properties": { "api_key": { "description": "Sandbox API key", "type": "string" }, "url": { "description": "Webhook to set for this channel on sandbox", "properties": { "url": { "type": "string" } }, "required": [ "url" ], "type": "object" } }, "required": [ "url", "api_key" ], "type": "object" }, "name": "sandbox_configure_webhook", "outputSchema": { "properties": { "headers": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null }, "url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" } }, { "description": "Get configured webhook for the channel on 360Dialog sandbox.", "inputSchema": { "additionalProperties": false, "properties": { "api_key": { "description": "Sandbox API key", "type": "string" } }, "required": [ "api_key" ], "type": "object" }, "name": "sandbox_get_webhook_configuration", "outputSchema": { "properties": { "headers": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null }, "url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" } }, { "description": "List webhook events received. This will show received messages from the user, and status of messages\nsent from the sandbox account.", "inputSchema": { "additionalProperties": false, "properties": { "page": { "default": 1, "description": "Page number. Starts from 1, defaults to 1.", "type": "integer" } }, "type": "object" }, "name": "sandbox_list_events", "outputSchema": { "properties": { "items": { "items": { "properties": { "created_at": { "type": "string" }, "id": { "type": "string" }, "payload": { "properties": { "entry": { "items": { "properties": { "changes": { "items": { "properties": { "field": { "anyOf": [ { "type": "string" }, { "const": "messages", "type": "string" } ] }, "value": { "properties": { "contacts": { "items": { "properties": { "profile": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null }, "user_id": { "type": "string" }, "wa_id": { "type": "string" } }, "required": [ "wa_id", "user_id" ], "type": "object" }, "type": "array" }, "messages": { "anyOf": [ { "items": { "description": "The actual message is here", "properties": { "from": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "from_user_id": { "type": "string" }, "id": { "type": "string" }, "text": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null }, "timestamp": { "type": "string" }, "type": { "anyOf": [ { "type": "string" }, { "const": "messages", "type": "string" } ] } }, "required": [ "from_user_id", "id", "timestamp", "type" ], "type": "object" }, "type": "array" }, { "type": "null" } ], "default": null }, "messaging_product": { "const": "whatsapp", "type": "string" }, "metadata": { "properties": { "display_phone_number": { "type": "string" }, "phone_number_id": { "type": "string" } }, "required": [ "display_phone_number", "phone_number_id" ], "type": "object" }, "statuses": { "anyOf": [ { "items": { "properties": { "conversation": { "anyOf": [ { "properties": { "expiration_timestamp": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "id": { "type": "string" }, "origin": { "additionalProperties": { "type": "string" }, "type": "object" } }, "required": [ "id", "origin" ], "type": "object" }, { "type": "null" } ], "default": null }, "id": { "type": "string" }, "pricing": { "anyOf": [ { "properties": { "billable": { "type": "boolean" }, "category": { "anyOf": [ { "type": "string" }, { "const": "service", "type": "string" } ] }, "pricing_model": { "anyOf": [ { "type": "string" }, { "const": "PMP", "type": "string" } ] }, "type": { "anyOf": [ { "type": "string" }, { "const": "free_customer_service", "type": "string" } ] } }, "required": [ "billable", "pricing_model", "category", "type" ], "type": "object" }, { "type": "null" } ], "default": null }, "recipient_id": { "type": "string" }, "recipient_user_id": { "type": "string" }, "status": { "anyOf": [ { "type": "string" }, { "enum": [ "pending", "delivered", "read" ], "type": "string" } ] }, "timestamp": { "type": "string" } }, "required": [ "id", "status", "timestamp", "recipient_id", "recipient_user_id" ], "type": "object" }, "type": "array" }, { "type": "null" } ], "default": null } }, "required": [ "messaging_product", "metadata", "contacts" ], "type": "object" } }, "required": [ "field", "value" ], "type": "object" }, "type": "array" }, "id": { "type": "string" } }, "required": [ "id", "changes" ], "type": "object" }, "type": "array" }, "object": { "anyOf": [ { "type": "string" }, { "const": "whatsapp_business_account", "type": "string" } ] } }, "required": [ "object", "entry" ], "type": "object" } }, "required": [ "id", "created_at", "payload" ], "type": "object" }, "type": "array" }, "page": { "type": "integer" }, "pages": { "type": "integer" }, "size": { "type": "integer" }, "total": { "type": "integer" } }, "required": [ "items", "total", "page", "size", "pages" ], "type": "object" } }, { "description": "Register the user's phone number on the 360Dialog sandbox. Upon registration, the user can send messages to this phone number from the 360Dialog sandbox account on WhatsApp.\n\nThe user will be given a link to complete registration. When this link is used, they will send a verification code to 360Dialog sandbox phone number on WhatsApp. They can click the link, or alternatively scan the QR code.", "inputSchema": { "additionalProperties": false, "properties": { "phone_number": { "format": "phone", "type": "string" } }, "required": [ "phone_number" ], "type": "object" }, "name": "sandbox_register_number", "outputSchema": { "properties": { "message_to_send": { "type": "string" }, "quick_link": { "type": "string" }, "sandbox_number": { "type": "string" } }, "required": [ "sandbox_number", "message_to_send", "quick_link" ], "type": "object" } }, { "description": "Send a message on the 360Dialog sandbox. Messages can only be sent to the user's phone number that was used during sandbox registration.\n\nThe payload must be a JSON string matching the WhatsApp messages endpoint body.\n\nInteractive message example: use this only when there is an active conversation window, which lasts 24 hours since the customer's last message.\n\n{\n \"messaging_product\": \"whatsapp\",\n \"to\": \"{{recipient_phone_number}}\",\n \"type\": \"text\",\n \"text\": {\n \"body\": \"{{message_body}}\"\n }\n}\n\nTemplate message example: use this when there is no active conversation window, or when sending an approved template message. You can only send the 'marketing_message' template.\n\n{\n \"messaging_product\": \"whatsapp\",\n \"to\": \"{{recipient_phone_number}}\",\n \"type\": \"template\",\n \"template\": {\n \"name\": \"marketing_message\",\n \"language\": {\n \"policy\": \"deterministic\",\n \"code\": \"en\"\n },\n \"components\": [\n {\n \"type\": \"header\",\n \"parameters\": [\n {\n \"type\": \"image\",\n \"image\": {\n \"link\": \"https://placehold.co/600x315/34D399/FFFFFF/png?text=Summer+Sale!\"\n }\n }\n ]\n }\n ]\n }\n}", "inputSchema": { "additionalProperties": false, "properties": { "api_key": { "description": "Sandbox API key", "type": "string" }, "payload": { "description": "JSON body of the WhatsApp message to send. Use a text payload only inside an active 24-hour customer service window; use a template payload to start or continue conversations outside that window.", "type": "string" } }, "required": [ "payload", "api_key" ], "type": "object" }, "name": "sandbox_send_message", "outputSchema": { "properties": { "contacts": { "default": [], "items": { "properties": { "input": { "type": "string" }, "wa_id": { "type": "string" } }, "required": [ "input", "wa_id" ], "type": "object" }, "type": "array" }, "messages": { "default": [], "items": { "properties": { "id": { "type": "string" } }, "required": [ "id" ], "type": "object" }, "type": "array" }, "messaging_product": { "const": "whatsapp", "default": "whatsapp", "type": "string" } }, "type": "object" } }, { "description": "Search the 360Dialog client documentation at https://docs.360dialog.com/docs. Search across the documentation to find relevant information, code examples, API references, and guides. Use this tool when you need to answer questions about Client Documentation, find specific documentation, understand how features work, or locate implementation details. The search returns contextual content with titles and direct links to the documentation pages.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "query": { "type": "string" } }, "required": [ "query" ], "type": "object" }, "name": "search_client_documentation", "outputSchema": null }, { "description": "Send sample events to a channel's (a.k.a. phone number's) or a WABA's webhook, so the user can\ncheck that the webhook receives them and answers with a 2xx code.\n\nPass exactly one of 'channel_id' or 'waba_account_id'. The user may see several sample requests arrive at\ntheir webhook server. Returns which sample events passed and which failed.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Channel ID, ending in 'CH', to test that channel's webhook. Leave blank when testing a WABA." }, "waba_account_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "WABA ID, ending in 'WA', to test the WABA's webhook. Leave blank when testing a channel." } }, "required": [], "type": "object" }, "name": "send_test_webhook_event", "outputSchema": { "properties": { "failed_count": { "default": 0, "type": "integer" }, "message": { "type": "string" }, "passed_count": { "default": 0, "type": "integer" }, "results": { "default": [], "items": { "properties": { "passed": { "default": false, "type": "boolean" }, "status_code": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null }, "status_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "total_time": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null }, "type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "type": "array" }, "sent": { "type": "boolean" }, "target": { "type": "string" }, "target_id": { "type": "string" } }, "required": [ "sent", "target", "target_id", "message" ], "type": "object" } }, { "description": "Claim or change the WhatsApp business username of a channel.\n\nThis changes what WhatsApp users see for the business, because the username can be shown instead of the phone number.\nMeta may reject the username, in which case an error is returned.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+ch$", "type": "string" }, "force_transfer": { "default": false, "description": "Set to true only if the username is currently on another number of the same business portfolio and should move to this one. Defaults to false.", "type": "boolean" }, "username": { "description": "The username to claim for this number. Use 'get_business_username_suggestions' to see usernames reserved for it.", "type": "string" } }, "required": [ "username", "channel_id" ], "type": "object" }, "name": "set_business_username", "outputSchema": { "properties": { "channel_id": { "type": "string" }, "status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "username": { "type": "string" } }, "required": [ "channel_id", "username" ], "type": "object" } }, { "description": "Submit a new display name for this channel (a.k.a. phone number.)\n\nCalling this tool will submit a display name request to Meta. Meta takes up to 48 hours to review the submitted display name. The display name may be rejected if it does not comply with display name guidelines.\n\nThe user will receive an email when their display name review is complete.\n\nWhen this tool is called, the user may be prompted by 360Dialog for an OTP code delivered to their email address.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+ch$", "type": "string" }, "new_display_name": { "description": "New requested display name for this phone number.", "type": "string" } }, "required": [ "new_display_name", "channel_id" ], "type": "object" }, "name": "set_display_name", "outputSchema": { "properties": { "channel_id": { "type": "string" }, "new_display_name": { "type": "string" }, "submitted": { "type": "boolean" } }, "required": [ "submitted", "channel_id", "new_display_name" ], "type": "object" } }, { "description": "Set a channel's (a.k.a. phone number's) webhook URL and optionally webhook headers.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+ch$", "type": "string" }, "webhook_setting": { "properties": { "headers": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null }, "url": { "format": "uri", "maxLength": 2083, "minLength": 1, "type": "string" } }, "required": [ "url" ], "type": "object" } }, "required": [ "webhook_setting", "channel_id" ], "type": "object" }, "name": "set_webhook", "outputSchema": { "properties": { "configured": { "type": "boolean" }, "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "webhook": { "anyOf": [ { "properties": { "headers": { "default": [], "items": { "additionalProperties": { "type": "string" }, "type": "object" }, "type": "array" }, "url": { "type": "string" } }, "required": [ "url" ], "type": "object" }, { "type": "null" } ], "default": null } }, "required": [ "configured" ], "type": "object" } }, { "description": "Show a preview of a given template to the user.", "inputSchema": { "additionalProperties": false, "properties": { "template_id": { "description": "Needs to end with 'WT'. Use 'list_templates' to find a template's ID.", "maxLength": 22, "minLength": 22, "pattern": "(?i)^[a-z0-9]+wt$", "type": "string" }, "waba_account_id": { "description": "Needs to end with 'WA'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+wa$", "type": "string" } }, "required": [ "template_id", "waba_account_id" ], "type": "object" }, "name": "show_template_preview", "outputSchema": { "properties": { "template": { "type": "string" } }, "required": [ "template" ], "type": "object" } }, { "description": "Get the link that lets the user connect a WhatsApp phone number in 360Dialog, plus what to tell them beforehand.\n\nThis hands over 360Dialog's own onboarding page. The user clicks\nthrough Embedded Signup themselves; this tool cannot do it for them.\n\nThe user must be signed in to 360Dialog Hub already, or the link sends them to login first and loses\nthe destination. Tell them to make sure they're signed in first.\n\nThe link given by this tool may not work if the user's 360Dialog client account\nis under a partner-paid channel. Make them aware of this.\n\nReturns the client's current channel IDs for future reference on recognizing\nwhich phone number was newly added.", "inputSchema": { "additionalProperties": false, "properties": {}, "required": [], "type": "object" }, "name": "start_number_onboarding", "outputSchema": { "properties": { "current_channel_ids": { "default": [], "items": { "type": "string" }, "type": "array" }, "onboarding_url": { "type": "string" }, "what_meta_will_ask": { "items": { "type": "string" }, "type": "array" } }, "required": [ "onboarding_url", "what_meta_will_ask" ], "type": "object" } }, { "description": "Returns the URL where a user can create a 360Dialog account. Only relevant if the user has not\ncreated a 360Dialog account yet.", "inputSchema": { "additionalProperties": false, "properties": {}, "type": "object" }, "name": "start_signup", "outputSchema": { "properties": { "next_step": { "type": "string" }, "signup_url": { "type": "string" } }, "required": [ "signup_url", "next_step" ], "type": "object" } }, { "description": "Subscribe the user to 360Dialog status update emails.", "inputSchema": { "additionalProperties": false, "properties": {}, "type": "object" }, "name": "subscribe_platform_status_updates", "outputSchema": { "properties": { "email": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "subscribed": { "type": "boolean" }, "subscriber_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "subscribed" ], "type": "object" } }, { "description": "Unblock WhatsApp users so they can message a channel again.\n\nIdentify each user by phone number or by BSUID; pass at least one of 'phone_numbers' and 'user_ids'.\nFor a user that 'list_blocked_users' shows without a phone number, pass the BSUID in 'user_ids'.\n\nThe result lists which users were unblocked and which failed with the reason.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+ch$", "type": "string" }, "phone_numbers": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Phone numbers of the WhatsApp users to unblock, in international format without '+' or spaces, for example ['49100100200']." }, "user_ids": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Business-scoped user IDs (BSUIDs) of the WhatsApp users to unblock, for users whose phone number isn't known. 'list_blocked_users' shows each blocked user's BSUID." } }, "required": [ "channel_id" ], "type": "object" }, "name": "unblock_users", "outputSchema": { "properties": { "channel_id": { "type": "string" }, "failed": { "items": { "properties": { "input": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "reasons": { "items": { "type": "string" }, "type": "array" } }, "required": [ "reasons" ], "type": "object" }, "type": "array" }, "succeeded": { "items": { "type": "string" }, "type": "array" } }, "required": [ "channel_id", "succeeded", "failed" ], "type": "object" } }, { "description": "Stop 360Dialog status update emails for the user.", "inputSchema": { "additionalProperties": false, "properties": { "subscriber_id": { "description": "Use 'list_platform_status_subscriptions' to find a subscription's ID.", "maxLength": 64, "pattern": "^[A-Za-z0-9]+$", "type": "string" } }, "required": [ "subscriber_id" ], "type": "object" }, "name": "unsubscribe_platform_status_updates", "outputSchema": { "properties": { "message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "subscriber_id": { "type": "string" }, "unsubscribed": { "type": "boolean" } }, "required": [ "unsubscribed", "subscriber_id" ], "type": "object" } }, { "description": "Update the WhatsApp profile for this channel (a.k.a. phone number.)\n\nThe user may be prompted by 360Dialog for an OTP code delivered to their email address. Make them aware of the OTP requirement.", "inputSchema": { "additionalProperties": false, "properties": { "channel_id": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+ch$", "type": "string" }, "new_profile": { "additionalProperties": false, "description": "Changes to the business profile. This is a PATCH request, so only pass fields the user wants changed. If you want to clear a field, set it to null. If you don't want to change a field, omit it from the JSON.\n \n e.g. JSON with no changes: {}\n \n e.g. JSON that only changes about text: { \"about_text\": \"Hello world\" }", "properties": { "about_text": { "anyOf": [ { "maxLength": 256, "type": "string" }, { "type": "null" } ], "default": null, "description": "About text. Set to a string to update; set to null to clear; omit to leave unchanged." }, "business_description": { "anyOf": [ { "maxLength": 512, "type": "string" }, { "type": "null" } ], "default": null, "description": "Business description. Set to a string to update; set to null to clear; omit to leave unchanged." }, "business_vertical": { "anyOf": [ { "enum": [ "ALCOHOL", "APPAREL", "AUTO", "BEAUTY", "EDU", "ENTERTAIN", "EVENT_PLAN", "FINANCE", "GOVT", "GROCERY", "HEALTH", "HOTEL", "NONPROFIT", "ONLINE_GAMBLING", "OTC_DRUGS", "OTHER", "PHYSICAL_GAMBLING", "PROF_SERVICES", "RESTAURANT", "RETAIL", "TRAVEL" ], "type": "string" }, { "type": "null" } ], "default": null, "description": "Set to a vertical to update; set to null to clear; omit to leave unchanged." }, "contact_email": { "anyOf": [ { "format": "email", "maxLength": 256, "type": "string" }, { "type": "null" } ], "default": null, "description": "Contact email. Set to a string to update; set to null to clear; omit to leave unchanged." }, "full_address": { "anyOf": [ { "maxLength": 256, "type": "string" }, { "type": "null" } ], "default": null, "description": "Full address. Set to a string to update; set to null to clear; omit to leave unchanged." }, "websites": { "anyOf": [ { "items": { "format": "uri", "maxLength": 2083, "minLength": 1, "type": "string" }, "maxItems": 2, "type": "array" }, { "type": "null" } ], "default": null, "description": "Websites. Set to a list to update; set to null to clear; omit to leave unchanged." } }, "type": "object" }, "project_id": { "description": "Needs to end with 'PR'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+pr$", "type": "string" } }, "required": [ "new_profile", "channel_id", "project_id" ], "type": "object" }, "name": "update_channel_profile", "outputSchema": { "properties": { "channel_id": { "type": "string" }, "message": { "type": "string" }, "updated": { "type": "boolean" } }, "required": [ "updated", "channel_id", "message" ], "type": "object" } }, { "description": "Turn the catalog visibility and the cart on or off for a channel.\n\nThis changes what WhatsApp users see in the chat with the business. Pass at least one of 'catalog_visible' and\n'cart_enabled'; a value that is left out keeps its current setting.", "inputSchema": { "additionalProperties": false, "properties": { "cart_enabled": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "description": "Whether the cart is enabled for WhatsApp users. Omit to leave unchanged." }, "catalog_visible": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "description": "Whether the catalog is visible to WhatsApp users. Omit to leave unchanged." }, "channel_id": { "description": "Needs to end with 'CH'.", "maxLength": 8, "minLength": 8, "pattern": "(?i)^[a-z0-9]+ch$", "type": "string" } }, "required": [ "channel_id" ], "type": "object" }, "name": "update_commerce_settings", "outputSchema": { "properties": { "channel_id": { "type": "string" }, "settings": { "properties": { "is_cart_enabled": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "is_catalog_visible": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null } }, "type": "object" } }, "required": [ "channel_id", "settings" ], "type": "object" } }, { "description": "Set the user's company's details on 360Dialog. This change does not affect Meta; only records on\n360Dialog are affected by the update.\n\nBefore calling this tool, make sure to:\n\n1. Check if the `get_company_details` tool returns the correct company information already.\n2. Check with the user if they want to change their company details in 360Dialog.\n3. Get the user's approval/confirmation.", "inputSchema": { "additionalProperties": false, "properties": { "billing_country": { "description": "ISO country code, for example 'DE'", "type": "string" }, "company_name": { "description": "The company's name", "type": "string" }, "tax_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Optional - the company's tax ID" } }, "required": [ "company_name", "billing_country", "tax_id" ], "type": "object" }, "name": "update_company_details", "outputSchema": { "properties": { "client": { "properties": { "contact_info": { "anyOf": [ { "properties": { "city": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "country": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "email": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "full_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "language": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "phone": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "street_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "webpage_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "zip_code": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, { "type": "null" } ], "default": null }, "fb_business_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "id": { "type": "string" }, "max_channels": { "type": "integer" }, "name": { "type": "string" }, "status": { "type": "string" }, "tax_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "id", "name", "status", "max_channels" ], "type": "object" } }, "required": [ "client" ], "type": "object" } }, { "description": "Verify the 6-digit OTP code from the user. Doing so will automatically replay the blocked tool call that required\nverification, except for tools whose result is shown to the user in an app: for those, the result says to call\nthe tool again.", "inputSchema": { "additionalProperties": false, "properties": { "code": { "description": "6-digit OTP code. You must receive this from the user.", "pattern": "^[0-9]{6}$", "type": "string" } }, "required": [ "code" ], "type": "object" }, "name": "verify_otp", "outputSchema": { "properties": { "call_again_tool": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "message": { "type": "string" }, "replayed": { "type": "boolean" }, "replayed_structured_content": { "anyOf": [ {}, { "type": "null" } ], "default": null }, "replayed_tool": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "verified": { "type": "boolean" } }, "required": [ "verified", "replayed", "message" ], "type": "object" } }, { "description": "Wait for a server-side onboarding step to finish, then report back.\n\nEmbedded Signup and payment setup finish in the person's browser. This tool\npolls the hub every 5 seconds for up to 45 seconds and returns one of:\n\n- \"done\": The step finished.\n- \"pending\": Still not finished. Call this tool again to keep waiting.\n- \"failed\": There was an error.\n\n'channel_id' and 'phone_number' are returned back once a channel is found so you can pass\n'phone_number' into the next call once you have it. When 'phone_number' is omitted, 'candidates'\nlists the client's most recently created channels - check it if you're unsure the right number\nwas picked (e.g. two users connecting numbers on the same 360Dialog client account).\n\nOnly use this for the short waits during onboarding. This tool is NOT suitable for display name\napproval, WABA approval, or business verification scenarios, as they take days, not seconds.", "inputSchema": { "additionalProperties": false, "properties": { "phone_number": { "anyOf": [ { "format": "phone", "type": "string" }, { "type": "null" } ], "default": null, "description": "The phone number to wait for - optional. If absent for 'number_connected' and 'channel_live', reports back with top 3 recently connected/went live phone numbers. If present, it checks the status for the specific phone number. Not relevant for 'payment_connected'." }, "step": { "description": "Which step to wait for: 'number_connected' (a new phone number was added), 'payment_connected' (the client has a payment method), or 'channel_live' (the number is ready to send messages).", "enum": [ "number_connected", "payment_connected", "channel_live" ], "type": "string" } }, "required": [ "step" ], "type": "object" }, "name": "wait_for_onboarding_step", "outputSchema": { "properties": { "candidates": { "anyOf": [ { "items": { "properties": { "availability_status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "channel_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "created_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "phone_number": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "type": "object" }, "type": "array" }, { "type": "null" } ], "default": null }, "channel_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "detail": { "type": "string" }, "observed": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "phone_number": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "state": { "enum": [ "done", "pending", "failed" ], "type": "string" } }, "required": [ "state", "detail" ], "type": "object" } } ] }
Verify it yourselfcurl -s https://api.teppi.xyz/v1/evidence/sha256:97dcabc65e6611b8c319828afc773c8d3493a0749007d5e8c5225e5a4a2a79b8 | sha256sum