Slack List Channels
slack_list_channelsLists channels in a Slack workspace, including public channels, private channels, and direct messages (DMs). Reads from the local IndexedDB cache — only channels that Slack Desktop has synced to disk are returned. Pass workspace_id from slack_list_workspaces to filter to a specific workspace.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "slack_list_channels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max channels to return (default 200) | |
| workspace_id | No | Workspace ID from slack_list_workspaces (optional — omit to list channels across all workspaces) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of channels returned | |
| channels | Yes | Channels and DMs synced to the local cache |