slack_read_messages
Read recent Slack messages from any channel, DM, or group chat by specifying #channel, @username, or channel ID. Retrieve messages before or after a timestamp with adjustable limits.
Instructions
Read recent messages from a Slack channel, DM, or group chat. Supports #channel-name, @username, or channel ID.
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_read_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Only messages after this Slack timestamp (ts). | |
| limit | No | Number of messages to fetch (default 20, max 100). | |
| before | No | Only messages before this Slack timestamp (ts). | |
| channel | Yes | Channel to read from. Use #channel-name, @username (for DM), or a channel ID. | |
| workspace | No | Workspace alias. Omit to use default. |