LiraX Tool icon

LiraX Tool

Provides LiraX telephony operations as tools for AI Agent with standardized output format

📝 Create Contact

AI-generated

Summary

Create or update a LiraX contact using phone number, contact name, and employee extension.

Inputs

  • phone (required) — Phone number for the operation. Will be automatically normalized.
  • name (required) — Full name of the contact
  • ext_contact — Internal number of employee responsible for this contact (defaults to 101)
  • email — Email address for contact lookup or creation

Output shape

Standardized AI tool output containing success flag, contact data (name, phone, email), confidence score, summary string, and optional _standardized block for AI consumption. Summary on success: 'Contact processed: {name} ({phone})'. Error handling governed by aiSettings.errorMode (strict throws, lenient returns standardized error, silent returns empty data). Raw API response included only when aiSettings.includeRawResponse is true.

Phone numbers are automatically normalized to digits only. Operation internally maps to LiraX cmd 'checkContact', which requires ext, ani (phone), and name. Email is optional; if omitted, contact is looked up by phone and name only.

Links

Discussion