whatsapp_template_update
Update a WhatsApp template's components and/or message_send_ttl_seconds. Editing components sends the template back through Meta review (status returns to PENDING). At least one of components / message_send_ttl_seconds is required.
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": {
"profile_id": "<profile_id>",
"template_id": "<template_id>"
},
"name": "whatsapp_template_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Template language code, e.g. en_US | |
| components | No | Full replacement component list in Meta's shape | |
| profile_id | Yes | Profile hashid of a whatsapp profile (the WhatsApp Business Account) | |
| template_id | Yes | Template hashid, Meta template id, or template name (pass language when the name exists in several languages) | |
| message_send_ttl_seconds | No | New TTL in seconds within the category range (-1 not allowed on update) |