slack_conversations_history
Fetch messages from a Slack channel or DM, optionally by time range and limit, and resolve user IDs to display names for readable conversation history.
Instructions
Get messages from a channel or DM with user names resolved
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": "slack_conversations_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Messages to fetch (max 100, default 50) | |
| latest | No | Unix timestamp - get messages before this time (boundary timestamp included) | |
| oldest | No | Unix timestamp - get messages after this time (boundary timestamp included) | |
| channel_id | Yes | Channel or DM ID (e.g., D063M4403MW) | |
| provenance | No | Author labelling for returned messages. label (default) stamps origin and author_trusted on every message; strict also holds slack_send_message after outside-authored text has been read. Defaults to SLACK_MCP_PROVENANCE, else label. This argument can only tighten labelling, never loosen it: to drop the labels entirely and get the pre-5.1 output shape, set SLACK_MCP_PROVENANCE=off on the server. | |
| resolve_users | No | Convert user IDs to names (default true) | |
| include_all_metadata | No | Pass Slack's include_all_metadata option to conversations.history | |
| include_rich_message_fields | No | Include Slack message attachments, blocks, metadata, files, and reactions when present |