list_channels
List all active or specific types of channels in a Slack workspace. Filter by channel type, exclude archived channels, and set a limit on the number of results returned.
Instructions
List all channels in the Slack workspace.
Args: types: Comma-separated channel types (public_channel, private_channel, mpim, im) exclude_archived: Whether to exclude archived channels limit: Maximum number of channels to return (1-1000)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
exclude_archived | No | ||
limit | No | ||
types | No |
Input Schema (JSON Schema)
{
"properties": {
"exclude_archived": {
"default": true,
"title": "Exclude Archived",
"type": "boolean"
},
"limit": {
"default": 100,
"title": "Limit",
"type": "integer"
},
"types": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Types"
}
},
"type": "object"
}