Herramientas
Configurar las herramientas disponibles para el agente IA
Las herramientas son acciones que el agente IA puede ejecutar durante una conversacion. Se configuran en el campo tools de la configuracion del agente.
Configurar Herramientas
curl -X PATCH "https://api.mirlo.com/v1/members/organizations/{organization_id}/members/{agent_id}/agent-config" \
-H "X-API-Key: sk_live_tu_api_key" \
-H "Content-Type: application/json" \
-d '{
"tools": {
"transfer_to_human": {
"enabled": true
},
"search_knowledge": {
"enabled": true
},
"send_product": {
"enabled": true
},
"create_ticket": {
"enabled": false
}
}
}'Herramientas Disponibles
| Herramienta | Descripcion |
|---|---|
transfer_to_human | Transferir la conversacion a un agente humano |
search_knowledge | Buscar en la base de conocimiento de la organizacion |
send_product | Enviar un producto del catalogo al contacto |
create_ticket | Crear un ticket de soporte |
schedule_meeting | Agendar una reunion |
Notificaciones por Herramienta
Configura notificaciones cuando el agente ejecuta una herramienta:
curl -X PATCH "https://api.mirlo.com/v1/members/organizations/{organization_id}/members/{agent_id}/agent-config" \
-H "X-API-Key: sk_live_tu_api_key" \
-H "Content-Type: application/json" \
-d '{
"notifications": {
"end_of_call": {
"email": ["supervisor@tuempresa.com"],
"whatsapp": ["+521234567890"],
"webhook": "https://tu-servidor.com/webhook/call-ended"
},
"transfer_to_human": {
"email": ["equipo@tuempresa.com"]
}
}
}'