wa_api_call
Call WhatsApp Business API endpoints not covered by dedicated tools, using a validated path and method. Works with GET, POST, DELETE against Meta Graph resources like templates, messages, and media.
Instructions
Escape hatch for WhatsApp Business / Meta Graph endpoints that don't have a dedicated tool yet.
Restricted: only paths matching a curated allowlist of WhatsApp Business resources are accepted (message_templates, phone_numbers, messages, media, business_profile, analytics, subscribed_apps, owned_whatsapp_business_accounts, single-ID reads, wamid lookups). Anything else is rejected.
Prefer the typed tools when one matches — they validate inputs and surface clearer errors.
Inputs:
path: starts with/, e.g./{waba_id}/subscribed_appsquery_params: raw query string without leading?(will be appended)body_json: JSON string of the request body, used with POST/DELETE
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Graph API path starting with /, e.g. /{waba_id}/subscribed_apps | |
| method | Yes | HTTP method | |
| body_json | No | JSON string of request body for POST/DELETE | |
| query_params | No | Query string params (without leading ?), e.g. fields=id,name&limit=100 |