Get Slack Channel History
slack_get_channel_historyRetrieve recent messages from a Slack channel by name or ID. Optionally set the number of messages to return.
Instructions
Get recent messages from a channel. Accepts both channel names (#general, general) and channel IDs (C1234567890).
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_get_channel_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | The channel name (e.g., #general, general) or channel ID (e.g., C1234567890) | |
| limit | No | Number of messages to retrieve (default 10) |