list_scheduled_messages
List scheduled WhatsApp messages with filters for status, date range, phone number, and pagination. Returns details including session, text, time, and status.
Instructions
Listar mensajes programados — Lists scheduled WhatsApp messages with optional status filter. Returns id, session info, phone, message text, scheduled time, status, agent name, and sent/error info. [query]
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_scheduled_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Filtrar por estado (default: pending, all para ver todos) | pending |
| page | No | Pagina de resultados | |
| period | No | Periodo de tiempo para filtrar: today (hoy), 7/30/90 (ultimos N dias), custom (requiere date_from y date_to) | |
| date_from | No | Fecha inicio YYYY-MM-DD | |
| date_to | No | Fecha fin YYYY-MM-DD | |
| phone | No | Filtrar por número de teléfono del destinatario |