list_messages
Retrieve chat messages in chronological order, using relative time ranges or ISO dates to filter and access specific conversation history.
Instructions
Read messages in one chat, oldest first.
after/before accept '7d', '24h', '2w', or an ISO date such as 2026-08-01.
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": "list_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| limit | No | ||
| before | No | ||
| offset | No | ||
| chat_id | Yes | ||
| from_me | No |