create_template
Create a chat template (e.g., WhatsApp waba) with message content, type, language, and category. Supports variables like {{contact.name}} for personalized messages.
Instructions
Cria um novo modelo de chat (template). Para WhatsApp, o type costuma ser 'waba'.
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>",
"content": "<content>",
"client_slug": "<client_slug>"
},
"name": "create_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Nome do modelo | |
| type | No | Tipo do modelo (ex: text, waba) | text |
| content | Yes | Corpo da mensagem do modelo (pode usar variáveis como {{contact.name}}) | |
| client_slug | Yes | Identificador do cliente (slug) | |
| is_editable | No | Se usuários podem editar no app da Kommo | |
| waba_category | No | Para WhatsApp: UTILITY, AUTHENTICATION, MARKETING | |
| waba_language | No | Idioma (ex: pt_BR) |