conversations_history
Retrieve Slack channel messages using channel_id, with pagination support via cursor. Fetch messages within specified time limits or message counts, streamlining conversation history management.
Instructions
Get messages from the channel by channel_id, the last row/column in the response is used as 'cursor' parameter for pagination if not empty
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": "conversations_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | ID of the channel in format Cxxxxxxxxxx | |
| cursor | No | Cursor for pagination. Use the value of the last row and column in the response as next_cursor field returned from the previous request. | |
| limit | No | Limit of messages to fetch in format of maximum ranges of time (e.g. 1d - 1 day, 30d - 30 days, 90d - 90 days which is a default limit for free tier history) or number of messages (e.g. 50). Must be empty when 'cursor' is provided. | 1d |