get_conversations_by_agent
Retrieve conversations assigned to a specific agent using filters like date range, phone, or keywords to manage agent workload and track interactions.
Instructions
Conversaciones por agente — Muestra las conversaciones asignadas a un agente especifico [query]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_id": "<agent_id>"
},
"name": "get_conversations_by_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ID del agente | |
| limit | No | Maximo de resultados (default 20) | |
| query | No | Texto de busqueda | |
| phone | No | Filtrar por telefono del cliente | |
| date_from | No | Fecha inicio YYYY-MM-DD | |
| date_to | No | Fecha fin YYYY-MM-DD | |
| offset | No | Posicion de inicio para paginacion | |
| hours | No | Ultimas N horas | |
| conversation_id | No | ID de conversacion especifica | |
| last_n | No | Ultimos N mensajes | |
| period | No | Periodo de tiempo | |
| message | No | Texto del mensaje a enviar o eliminar | |
| format | No | Formato de respuesta |