Skip to main content
List Slack channels available to the connected Slack app for a project

Tool details

FieldValue
Namelist_slack_channels
GroupOther

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project ID or slug"
    },
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "Filter by Slack channel name or ID"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200,
      "default": 100,
      "description": "Maximum Slack channels to return"
    }
  },
  "required": [
    "project_reference"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Input schema for the list_slack_channels tool."
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Slack channel ID"
          },
          "name": {
            "type": "string",
            "description": "Slack channel name without #"
          },
          "is_private": {
            "type": "boolean",
            "description": "Whether the Slack channel is private"
          },
          "is_archived": {
            "type": "boolean",
            "description": "Whether the Slack channel is archived"
          }
        },
        "required": [
          "id",
          "name",
          "is_private",
          "is_archived"
        ],
        "additionalProperties": false,
        "description": "One data item returned by the tool."
      },
      "description": "Primary result records returned by the tool."
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Structured result returned by the list_slack_channels tool."
}