Crear Herramienta

Crea una nueva herramienta que los asistentes pueden invocar durante una llamada. Tipos disponibles: - **httpRequest**: Llamada HTTP a una URL externa. - **function**: Función personalizada con schema de parámetros. - **transferCall**: Transferencia de la llamada a otro número. - **handOff**: Traspaso a un agente humano.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired
typeenumRequired
Allowed values:
descriptionstringRequired
configobjectOptional

Configuración específica del tipo de herramienta.

payloadSchemaobjectOptional

Esquema JSON de los parámetros que la herramienta recibe.

messagesobjectOptional

Mensajes que el agente pronunciará al usar la herramienta.

Response

Herramienta creada.
idstringformat: "uuid"
namestring
typeenum
Allowed values:
descriptionstring
configobject
payloadSchemaobject
messagesobject
isLockedboolean
createdAtdatetime
updatedAtdatetime