Get Channel Posts
get_channel_postsRetrieve recent Mattermost channel posts newest first, with limits and since/before filters for paging through history or narrowing by time.
Instructions
Get recent posts from a Mattermost channel, newest 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": "get_channel_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of posts to return. Default: 30. | |
| since | No | ISO 8601 datetime — only return posts created after this timestamp. | |
| before | No | A post ID — return posts older than it, to page back through history. | |
| channel_id | Yes | The channel ID (use list_channels or get_channel to find it). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |