dm_messages_list
Retrieve messages from a chat, sorted by most recent. Optionally filter by direction or status to find specific conversations.
Instructions
List messages in a chat, most recent first. Optionally filter by direction or status.
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": {
"chat_id": "<chat_id>"
},
"name": "dm_messages_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (zero-indexed, default 0) | |
| status | No | Filter by status (pending, published, failed_waiting_for_retry, failed, received) | |
| chat_id | Yes | Chat hashid OR external_conversation_id | |
| per_page | No | Items per page (default 20) | |
| direction | No | Filter by direction |