jotae-mcp 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -139,14 +139,14 @@ const TOOLS = [
139
139
  channel: { type: 'string', enum: ['whatsapp', 'email'] },
140
140
  trigger: { type: 'string', enum: ['registration', 'event_start', 'event_end', 'attended', 'no_show', 'watched_pitch', 'clicked_cta', 'purchased', 'scheduled'] },
141
141
  delay_minutes: { type: 'number', description: 'Minutos após o gatilho (negativo = antes)' },
142
- template_id: { type: 'string', description: 'ID do template (WhatsApp ou e-mail mesmo campo para ambos)' },
143
- destination: { type: 'string', enum: ['individual', 'group'], description: 'WhatsApp: individual (padrão) ou group' },
142
+ template_id: { type: 'string', description: 'ID do template (obrigatóriouse list_templates para obter o ID)' },
143
+ destination: { type: 'string', enum: ['individual', 'group'], description: 'Destino: individual (padrão) ou group. Obrigatório.' },
144
144
  group_id: { type: 'string', description: 'ID do grupo WhatsApp (quando destination=group)' },
145
145
  scheduled_at: { type: 'string', description: 'ISO 8601 — obrigatório quando trigger=scheduled' },
146
146
  audience_list_id: { type: 'string', description: 'ID da lista de destinatários (filtra quem recebe)' },
147
147
  exclude_list_id: { type: 'string', description: 'ID da lista de exclusão (quem não recebe)' },
148
148
  },
149
- required: ['event_id', 'channel', 'trigger'],
149
+ required: ['event_id', 'channel', 'trigger', 'template_id', 'destination'],
150
150
  },
151
151
  },
152
152
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jotae-mcp",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "MCP Server para o Jotae — cria eventos, configura automações e lê métricas via Claude",
5
5
  "main": "dist/index.js",
6
6
  "bin": {