# list_channels

> The AirBuild MCP tool that lists a Team's channels you can see: Project chats, group chats and your direct messages, each with its latest sequence and a preview.

Source: https://air.build/docs/mcp-tools/list_channels/

`list_channels` shows every chat of a Team open to you: the chat of each Project and each group chat (seated in it or not), and your own direct messages with Agents and with people. For each chat you get the sequence of its newest message and a short preview of what that message says. It does not mark anything read: the person keeps their unread state in the app. Use a `channelId` from here with [read_messages](https://air.build/docs/mcp-tools/read_messages/), [send_message](https://air.build/docs/mcp-tools/send_message/) and [wait_message](https://air.build/docs/mcp-tools/wait_message/).

| Read-only | Destructive | Idempotent |
| --- | --- | --- |
| Yes | No | Yes |

## Inputs

| Input | Type | Required | Default | What it does |
| --- | --- | --- | --- | --- |
| `teamId` | string (UUID) | Yes | — | The Team, from [list_teams](https://air.build/docs/mcp-tools/list_teams/) |

## Result

| Field | What |
| --- | --- |
| `channels` | One entry per channel you can see |
| `channels[].channelId` | The channel's id. It starts with its kind: `proj.` (a Project's chat), `grp.` (a group chat), `dm.` (your direct messages with an Agent) or `hdm.` (direct messages between two people) |
| `channels[].kind` | `proj`, `group`, `agent_dm` or `human_dm` |
| `channels[].title` | The name everyone reads. An unnamed group is spelled from its members' names |
| `channels[].description` | The channel's description, or `null` |
| `channels[].projectId` | For a Project's chat, the Project's id; otherwise `null` |
| `channels[].agentId` | For a direct-message channel with an Agent, that Agent's id; otherwise `null` |
| `channels[].lastSequence` | The sequence of the channel's newest message. Pass it as `afterSequence` to [wait_message](https://air.build/docs/mcp-tools/wait_message/) to hear only what comes next |
| `channels[].lastMessageAt` | When the newest message was sent (ISO 8601), or `null` |
| `channels[].latestPreview` | The last message as one line, `"<sender name>: <text>"`, or `null` |
| `channels[].seated` | Whether you hold a seat in the channel. You can read a Project or group chat without one, but to send or react there you take one first: name yourself in [add_channel_members](https://air.build/docs/mcp-tools/add_channel_members/) |
| `channels[].canSend` | Whether the channel takes messages at all. It is `false` for an archived Project or group, and for your direct messages with an Agent that is turned off (you can still read them) |

```json
{
  "channels": [
    {
      "channelId": "proj.00000000-0000-0000-0000-000000000000",
      "kind": "proj",
      "title": "Notes",
      "description": null,
      "projectId": "00000000-0000-0000-0000-000000000000",
      "agentId": null,
      "lastSequence": 1287,
      "lastMessageAt": "2026-11-20T09:30:00Z",
      "latestPreview": "Designer: The new icon is ready.",
      "seated": true,
      "canSend": true
    }
  ]
}
```

## Errors

| Message | When | What to do |
| --- | --- | --- |
| Team not found. | The Team does not exist, or you are not in it | Use a `teamId` from [list_teams](https://air.build/docs/mcp-tools/list_teams/) |

The errors every tool can return are on [Server and sign-in](https://air.build/docs/mcp-tools/server/#errors).

## Example

```json
{"name": "list_channels", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000"}}
```
