MCP Tools
Workflows

list_workflow_slack_channels

Lists the caller's Slack connections and channels for digest posting or monitoring, and optionally probes a `channel_id` for read-history permissions (`needs_history_permission` with an absolute `update_permissions=slack` link).

Parameters

NameTypeRequiredDefaultDescription
team_idintegerYes—Team id to act in (from initialize instructions or get_current_user_info). Required on external MCP; optional in bound sessions.
connection_idintegerNo—Optional Slack connection id from `connections[].id`; defaults to the primary active connection.
channel_idstringNo—Optional Slack channel ID (for example, "C012AB3CD"). When set, probes history-reading permission on that channel instead of listing channels.
searchstringNo—Optional substring filter on Slack channel names (up to 100 characters).
cursorstringNo—Pagination cursor (`next_cursor`) from the previous channel list response.
limitintegerNo—Maximum channels to return per page (1 to 200).

Input Schema

{
  "type": "object",
  "required": [
    "team_id"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 200,
      "minimum": 1,
      "description": "Maximum channels to return per page (1 to 200)."
    },
    "cursor": {
      "type": "string",
      "description": "Pagination cursor (`next_cursor`) from the previous channel list response."
    },
    "search": {
      "type": "string",
      "description": "Optional substring filter on Slack channel names (up to 100 characters)."
    },
    "team_id": {
      "type": "integer",
      "minimum": 1,
      "description": "Team id to act in (from initialize instructions or get_current_user_info). Required on external MCP; optional in bound sessions."
    },
    "channel_id": {
      "type": "string",
      "description": "Optional Slack channel ID (for example, \"C012AB3CD\"). When set, probes history-reading permission on that channel instead of listing channels."
    },
    "connection_id": {
      "type": "integer",
      "minimum": 1,
      "description": "Optional Slack connection id from `connections[].id`; defaults to the primary active connection."
    }
  }
}

Output Schema

{
  "type": "object",
  "required": [
    "connected",
    "state",
    "connection_id",
    "connections",
    "connect_action",
    "channels",
    "next_cursor",
    "probe"
  ],
  "properties": {
    "probe": {
      "type": [
        "object",
        "null"
      ],
      "required": [
        "connection",
        "channel_accepted",
        "message",
        "action"
      ],
      "properties": {
        "action": {
          "type": [
            "object",
            "null"
          ]
        },
        "message": {
          "type": [
            "string",
            "null"
          ]
        },
        "connection": {
          "enum": [
            "ready",
            "expired",
            "needs_history_permission"
          ],
          "type": "string"
        },
        "channel_accepted": {
          "type": "boolean"
        }
      }
    },
    "state": {
      "enum": [
        "ready",
        "not_connected",
        "expired"
      ],
      "type": "string"
    },
    "channels": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "is_private",
          "is_member"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "is_member": {
            "type": "boolean"
          },
          "is_private": {
            "type": "boolean"
          }
        }
      }
    },
    "connected": {
      "type": "boolean"
    },
    "connections": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "label",
          "state",
          "action"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "label": {
            "type": "string"
          },
          "state": {
            "enum": [
              "ready",
              "expired"
            ],
            "type": "string"
          },
          "action": {
            "type": [
              "object",
              "null"
            ]
          }
        }
      }
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "connection_id": {
      "type": [
        "integer",
        "null"
      ]
    },
    "connect_action": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "href": {
          "type": "string"
        },
        "kind": {
          "type": "string"
        },
        "return_to": {
          "type": "string"
        }
      }
    }
  }
}

Instructions

Lists the caller's Slack connections, lists Slack channels for digest posting or monitoring, and optionally probes a chosen channel_id for read-history permissions (needs_history_permission with an absolute update_permissions=slack link). When Slack is not connected or expired, returns connect_action with an absolute link so the user can connect in browser.

When to use

When setting up a Competitor watch digest or Slack monitoring step to discover available Slack connections/channels, obtain connect_action if Slack is disconnected/expired, or probe channel_id read-history permission. Note: in ChatGPT, Competitor watch tools are currently allowlist-gated and not generally available.

Links: present returned URLs (workflow_url, connect_action.href, details.action.href, prerequisite links) character for character.