list_channels
Retrieve accessible public channels in a Slack workspace, with pagination and archived-channel filtering, to locate conversation spaces.
Instructions
List all accessible public channels in the Slack 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": "list_channels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of channels to return (default: 100) | |
| cursor | No | Pagination cursor from previous response | |
| exclude_archived | No | Exclude archived channels (default: true) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hasMore | Yes | Whether more results are available | |
| channels | Yes | List of channels | |
| nextCursor | Yes | Cursor for next page, null if no more results |