get_channel_history
Retrieve message history from a Slack channel to analyze conversations, track discussions, or review past communications using timestamp filters and customizable limits.
Instructions
Fetch message history from a Slack channel.
Args:
channel_id: The ID of the channel (e.g., "C01234567")
limit: Maximum number of messages to return (1-1000). Default: 20
oldest: Unix timestamp of oldest message to include (optional)
latest: Unix timestamp of latest message to include (optional)
Returns:
Dictionary containing list of messages with sender, text,
timestamp, and thread info
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 |
|---|---|---|---|
| channel_id | Yes | ||
| limit | No | ||
| oldest | No | ||
| latest | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||