get_channel_history
Retrieve message history from a specific Slack channel, using pagination and optional time-range filters to review conversations or gather context.
Instructions
Retrieve message history from a specific channel
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_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum messages to return (default: 50) | |
| cursor | No | Pagination cursor from previous response | |
| latest | No | Only messages before this timestamp | |
| oldest | No | Only messages after this timestamp | |
| channel_id | Yes | Channel ID (e.g., C1234567890) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hasMore | Yes | Whether more results are available | |
| messages | Yes | List of messages | |
| nextCursor | Yes | Cursor for next page, null if no more results |