# List a project's channels

Tool: `veryfront__list_channels`

List a project's channels. Requires project.channels.read.

## Arguments

| Name                | Type   | Required | Description        |
| ------------------- | ------ | -------- | ------------------ |
| `project_reference` | string |          | Project ID or slug |

## 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_channels",
    "arguments": {}
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"data\":[{\"id\":\"00000000-0000-0000-0000-000000000000\",\"project_id\":\"00000000-0000-0000-0000-000000000000\",\"installation_id\":\"00000000-0000-0000-0000-000000000000\",\"platform\":\"slack\",\"name\":\"string\",\"agent_id\":\"string\",\"enabled\":false,\"platform_team_id\":\"string\",\"platform_bot_id\":\"string\",\"workspace_name\":\"string\",\"respond_to\":\"mentions\",\"allowed_slack_channel_ids\":[\"string\"],\"status\":\"connected\",\"welcome_message\":\"string\",\"error_message\":\"string\",\"max_response_tokens\":1,\"runtime_target_kind\":\"main_branch\",\"target_environment_id\":\"00000000-0000-0000-0000-000000000000\",\"target_branch_id\":\"00000000-0000-0000-0000-000000000000\",\"resolved_target\":{\"runtime_target\":{\"kind\":\"main_branch\",\"target_environment_id\":\"00000000-0000-0000-0000-000000000000\",\"target_branch_id\":\"00000000-0000-0000-0000-000000000000\"},\"resolved_environment\":{\"id\":\"00000000-0000-0000-0000-000000000000\",\"name\":\"string\"},\"resolved_branch\":{\"id\":\"00000000-0000-0000-0000-000000000000\",\"name\":\"string\"},\"resolved_deployment\":{\"id\":\"string\",\"runtime_version\":\"string\",\"deployment_revision\":\"string\",\"last_deployed_at\":\"string\"},\"resolved_managed_domain\":{\"domain\":\"string\",\"health_url\":\"string\"},\"resolved_invoke_mode\":\"dispatch_override\",\"last_resolution_error\":{\"code\":\"string\",\"retryable\":false,\"message\":\"string\"}},\"created_at\":\"string\",\"updated_at\":\"string\"}]}"
      }
    ],
    "structuredContent": {
      "data": [
        {
          "id": "00000000-0000-0000-0000-000000000000",
          "project_id": "00000000-0000-0000-0000-000000000000",
          "installation_id": "00000000-0000-0000-0000-000000000000",
          "platform": "slack",
          "name": "string",
          "agent_id": "string",
          "enabled": false,
          "platform_team_id": "string",
          "platform_bot_id": "string",
          "workspace_name": "string",
          "respond_to": "mentions",
          "allowed_slack_channel_ids": [
            "string"
          ],
          "status": "connected",
          "welcome_message": "string",
          "error_message": "string",
          "max_response_tokens": 1,
          "runtime_target_kind": "main_branch",
          "target_environment_id": "00000000-0000-0000-0000-000000000000",
          "target_branch_id": "00000000-0000-0000-0000-000000000000",
          "resolved_target": {
            "runtime_target": {
              "kind": "main_branch",
              "target_environment_id": "00000000-0000-0000-0000-000000000000",
              "target_branch_id": "00000000-0000-0000-0000-000000000000"
            },
            "resolved_environment": {
              "id": "00000000-0000-0000-0000-000000000000",
              "name": "string"
            },
            "resolved_branch": {
              "id": "00000000-0000-0000-0000-000000000000",
              "name": "string"
            },
            "resolved_deployment": {
              "id": "string",
              "runtime_version": "string",
              "deployment_revision": "string",
              "last_deployed_at": "string"
            },
            "resolved_managed_domain": {
              "domain": "string",
              "health_url": "string"
            },
            "resolved_invoke_mode": "dispatch_override",
            "last_resolution_error": {
              "code": "string",
              "retryable": false,
              "message": "string"
            }
          },
          "created_at": "string",
          "updated_at": "string"
        }
      ]
    }
  }
}
```
