Create WP Template
create_wp_template[publish] Submit a new WhatsApp message template (for the account wp_account_id or wp_account_uuid) to Meta for review (it is sendable only once it comes back APPROVED: sync_wp_templates shows its state).
name = lowercase letters, digits and underscores; language = e.g. tr or en_US; category = MARKETING | UTILITY | AUTHENTICATION; components = Meta's list
[{"type": "BODY", "text": "Hello {{1}}, ..."}, optional HEADER / FOOTER / BUTTONS]; parameter_format = POSITIONAL or NAMED. Requires human approval.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"language": "<language>",
"category": "<category>",
"components": "<components>"
},
"name": "create_wp_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| category | Yes | ||
| language | Yes | ||
| components | Yes | ||
| wp_account_id | No | ||
| wp_account_uuid | No | ||
| parameter_format | No |