count_filtered_contacts
Count contacts in a list that meet segmentation filters such as tags, recent activity, and WhatsApp history.
Instructions
Contar contactos filtrados por segmento — Cuenta cuantos contactos de una lista cumplen con filtros de segmentacion (tags, actividad reciente, historial WhatsApp) [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": {
"list_id": "<list_id>",
"segment_filters": "<segment_filters>"
},
"name": "count_filtered_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | Yes | ID de la lista de contactos | |
| segment_filters | Yes | Filtros en formato JSON. Claves: tags (array), last_contact_days (entero), has_whatsapp_history (boolean) |