# Search Slack channels the workspace can see

Tool: `veryfront__list_slack_channels`

List slack channels. Requires project.channels.read.

## Arguments

| Name                | Type                                    | Required | Description                                                                                                |
| ------------------- | --------------------------------------- | -------- | ---------------------------------------------------------------------------------------------------------- |
| `query`             | string · max length 255                 |          | Filter by Slack channel name or ID                                                                         |
| `limit`             | integer · min 1 · max 200 · default 100 |          | Maximum channels from each of the public and private Slack collections; query filters the combined result. |
| `project_reference` | string                                  |          | Project ID or slug. Requires a person's credential; agent, run, and service-account callers are forbidden. |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
curl -X POST -N "https://api.veryfront.com/mcp" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Accept: application/json, text/event-stream" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__list_slack_channels",
    "arguments": {}
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"data\":[{\"id\":\"string\",\"name\":\"string\",\"is_private\":false,\"is_archived\":false}]}"
      }
    ],
    "structuredContent": {
      "data": [
        {
          "id": "string",
          "name": "string",
          "is_private": false,
          "is_archived": false
        }
      ]
    }
  }
}
```
