list_channel_threads
Lists root messages from a channel without thread replies, with page 0 for newest and higher pages for older messages, so you can browse threads before reading one by Post ID.
Instructions
List root messages from a channel without thread replies. Page 0 contains the newest root messages. Higher page numbers fetch older root messages. Within each page, messages are ordered from oldest to newest. Use get_thread_messages with a Post ID to read that thread in full.
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": "list_channel_threads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number. Page 0 is the newest and the default. Higher page numbers fetch older messages. | |
| per_page | No | Root messages per page (default: 30, max: 200). Threads with no replies are treated as roots too | |
| channel_id | Yes | Channel ID |