List WP Templates
list_wp_templates[read] APPROVED WhatsApp templates (status = APPROVED by default; PENDING | REJECTED | PAUSED | DISABLED | ALL show the others, e.g. to see what Meta still reviews or refused; only APPROVED ones can be sent) of the merchant's WhatsApp accounts (or one wp_account_id / wp_account_uuid) - the only messages that can open a conversation with a new number. Each: wp_template_id, wp_template_uuid, wp_account_id, wp_account_uuid, name, language, category, the body text with its {{1}}, {{2}} … variables and the variable count. Pick the best fitting one and pass its id (or uuid) to send_wp_template with the variables as components: [{"type": "body", "parameters": [{"type": "text", "text": "…"}, …]}] - one parameter per variable, in order.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_wp_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | APPROVED | |
| category | No | ||
| language | No | ||
| wp_account_id | No | ||
| wp_account_uuid | No |