channel_fetchMessages
Retrieve WhatsApp channel messages in chronological order using session ID and optional search filters.
Instructions
[Channel Chat] Load channel messages. Messages sorted from earliest to latest
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": {
"sessionId": "<sessionId>"
},
"name": "channel_fetchMessages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | No | Unique WhatsApp identifier for the given Chat (either group or personal) | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) | |
| searchOptions | No | Search options for fetching messages |