slack_channel_history
Retrieve recent messages from a Slack channel using its channel ID. Specify optional limits, timestamps, or pagination cursor.
Instructions
Read recent messages from a Slack channel (read-only). Provide the channel id (e.g. C0123ABCD), not the name — resolve names via slack_list_channels 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": "<channel>"
},
"name": "slack_channel_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | Channel id, e.g. C0123ABCD. | |
| limit | No | Number of messages (default 30). | |
| oldest | No | Only messages at or after this Unix ts, e.g. 1700000000.000000. | |
| latest | No | Only messages at or before this Unix ts. | |
| cursor | No | Pagination cursor from a previous response. |