List Slack Channels
list-slack-channelsList or search a connected Slack workspace's channels to find a channel name or ID for workflow sinks. Paginate results with a cursor to continue searching.
Instructions
Purpose: List or search the channels of a Slack workspace connected to a RawTree organization.
Returns: { channels, next_cursor }. Each channel has id, name, and is_private. next_cursor is null when there are no more results.
Behavior: Results are paginated. Pass next_cursor as cursor, with the same name when searching, to continue. With name, returns channels whose name contains it, ignoring a leading #, surrounding spaces, and case. Each search request scans a bounded part of the workspace, so a page can have no channels while next_cursor is set: the search has not finished, so call again with that cursor and the same name. Workflow Slack sinks accept a channel_name directly; use this tool to find a channel or confirm its exact name. The RawTree app must be a member of a private channel before it can post there.
Auth: Requires a user credential such as OAuth and membership in the organization. API keys are not supported. Authorization is enforced by the RawTree API.
When to use:
You need to find a Slack channel for a workflow Slack sink
The user describes a channel only partially and you need its exact name or ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Text that channel names must contain, such as alerts or #alerts. Omit to list all channels. | |
| cursor | No | next_cursor from a previous list-slack-channels response. Omit for the first page. | |
| organization | Yes | Organization whose integrations should be used. | |
| integration_id | Yes | Slack integration ID returned by list-integrations. |