get_channel_messages
Retrieve channel messages with newest first. Group consecutive same-user messages, expand thread replies, or compact output.
Instructions
Get channel history, newest first.
group merges consecutive same-user messages within 60s (token saver).
expand_threads fetches thread replies. compact truncates to id/user/text/ts.
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": "<channel>"
},
"name": "get_channel_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| group | No | ||
| offset | No | ||
| channel | Yes | ||
| compact | No | ||
| expand_threads | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||