channel_messages
Retrieve messages from a channel or thread, returned oldest first. Supports pagination with before/after message IDs and a limit up to 100 messages.
Instructions
The latest messages in a channel or thread, oldest first
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": {
"channel_id": "<channel_id>"
},
"name": "channel_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Only messages after this message id | |
| limit | No | Messages to return, at most 100 | |
| before | No | Only messages before this message id | |
| channel_id | Yes | Channel or thread id |