Tool plugin · listing tai42/tools-whatsappInstall
Permissions
Provides
register_whatsapp_template
Tool · group message-templates — Register a WhatsApp message template on the business account and return Graph’s id and status.
list_whatsapp_templates
Tool · group message-templates — List every WhatsApp message template on the business account, following Graph’s paging to exhaustion.
delete_whatsapp_template
Tool · group message-templates — Delete a WhatsApp message template by name and return Graph’s response.
subscribe_whatsapp_app
Tool — Subscribe the app to the business account’s webhooks, optionally overriding the callback URI and verify token, and return Graph’s response.
Four tools that provision a WhatsApp Business Account through the Meta Graph API: register,
list and delete message templates, and subscribe the app to the account’s webhooks. They talk
direct Graph REST through tai42-kit’s curl client (no vendor SDK); the Graph host and pinned
API version ride the settings below. This page is the per-tool index and the settings.
Configuration
The token and WABA id share the
CHANNEL_WHATSAPP_ env group with the rest of the WhatsApp
deployment; the access token is held as a secret and never appears in a log or a raised error.
Every non-2xx from Graph raises loudly with Graph’s status and body — never a silent default.
register_whatsapp_template
Registers a message template on the account and returns Graph’s response (the template id and review status).components is the Graph-shaped component list, passed through unchanged; name,
language, category and components are all required and non-empty.
list_whatsapp_templates
Lists every message template on the account, following Graph’s paging cursors to exhaustion, and returns the concatenated entries.delete_whatsapp_template
Deletes a message template by name (percent-encoded into the query) and returns Graph’s response.subscribe_whatsapp_app
Subscribes the app to the account’s webhooks. With bothcallback_uri and verify_token given it
sends Meta’s override pair; with neither it subscribes to the app’s configured webhook; supplying
exactly one of the two raises.
