Lista wiadomości
list_messagesList messages
List recent outbound messages (newest first), filterable by status, type, recipient or reference. Paginate with cursor from next_cursor.
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_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Tylko wiadomości na ten numer. | |
| type | No | Filtr typu wiadomości. | |
| limit | No | Domyślnie 50. | |
| cursor | No | Kursor next_cursor z poprzedniej strony. | |
| status | No | Filtr statusu, np. delivered albo scheduled. | |
| reference | No | Tylko wiadomości z tym reference. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Strona rekordów | |
| next_cursor | No | Kursor kolejnej strony |