slack_get_messages
Retrieve messages from a Slack channel using channel ID, with options for pagination, time filtering, and result limits.
Instructions
Get messages from a Slack channel
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_get_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | The ID of the channel (e.g., C1234567890) | |
| limit | No | Maximum number of messages to return (max 1000) | |
| cursor | No | Pagination cursor for next page | |
| oldest | No | Only messages after this Unix timestamp | |
| latest | No | Only messages before this Unix timestamp |