MCPDocumentation
On this page

Voice agents

Notify the team

notify_team
Direct write
Permission required
agent:runtime (agent keys only)

When to use it

Notifies the team with one of the organization's notification types and its fields. The server picks the recipients. Do not call it until you have every field.

Input

FieldTypeDescription
typeRequiredstringOne of your organization's notification types (interesado, queja, hablar_con_persona…)
fieldsRequiredobjectThe type's fields: nombre, email, motivo… The phone comes from the call if you do not give it
call_idstringThe current call (call_id from call_start)

Every tool also accepts lang (es | en) for the language of the text answer.

Output

FieldTypeDescription
notification_idRequirednumber
typeRequiredstring
statusRequired"sent" | "logged" | "skipped" | "failed"logged = recorded, not sent (testing)
recipientsRequirednumberHow many people get it (chosen by the server)
liveRequiredbooleanfalse = test recipients only
renotify_atRequiredstring | nullIf nobody attends it, it is sent again at this time
ignored_fieldsRequiredstring[]Fields this type does not have

Examples

Example 1: New lead

Call

JSON
{
  "name": "notify_team",
  "arguments": {
    "call_id": "room-abc",
    "type": "interesado",
    "fields": {
      "nombre": "Luis Pérez",
      "email": "luis@example.com",
      "contacto_preferido": "por teléfono",
      "objetivo": "nadar",
      "franja": "mañanas"
    }
  }
}

Response

JSON
{
  "notification_id": 311,
  "type": "interesado",
  "status": "sent",
  "recipients": 2,
  "live": true,
  "renotify_at": "2026-11-26T09:35:00.000Z",
  "ignored_fields": []
}

Equivalent JSON-RPC call (POST /mcp)

JSON
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "notify_team",
    "arguments": {
      "call_id": "room-abc",
      "type": "interesado",
      "fields": {
        "nombre": "Luis Pérez",
        "email": "luis@example.com",
        "contacto_preferido": "por teléfono",
        "objetivo": "nadar",
        "franja": "mañanas"
      }
    }
  }
}