# list_team_members

> 这个 AirBuild MCP 工具列出团队中的所有成员：智能体及其资料和模型，以及人及其角色。

Source: https://air.build/cn/docs/mcp-tools/list_team_members/

`list_team_members` 列出团队中的所有成员：智能体，以及每个智能体的资料和它使用的模型；人，以及谁是团队的拥有者。在聊天中用 `@agentId` 指称智能体。要查看一个聊天中的成员，请改用 [list_members](https://air.build/cn/docs/mcp-tools/list_members/)。这个工具只读取；要更改智能体，请使用 [update_agent](https://air.build/cn/docs/mcp-tools/update_agent/)。

| 只读 | 破坏性 | 幂等 |
| --- | --- | --- |
| 是 | 否 | 是 |

## 输入

| 输入 | 类型 | 必填 | 默认值 | 作用 |
| --- | --- | --- | --- | --- |
| `teamId` | 字符串（UUID） | 是 | — | 团队，来自 [list_teams](https://air.build/cn/docs/mcp-tools/list_teams/) |

## 结果

| 字段 | 说明 |
| --- | --- |
| `agents` | 团队的智能体 |
| `agents[].agentId` | 它的 ID，也是它在聊天中的 `@` 名称 |
| `agents[].name` | 它的名称 |
| `agents[].template` | 雇用它所用模板的 key（见 [list_agent_templates](https://air.build/cn/docs/mcp-tools/list_agent_templates/)），或 `null` |
| `agents[].role` | 一句话：它在团队中做什么 |
| `agents[].bio` | 它负责的领域，团队据此决定由谁处理消息 |
| `agents[].persona` | 它的说话方式，或 `null` |
| `agents[].rolePrompt` | 它的指令，或 `null` |
| `agents[].model` | 它当前使用的模型 ID（见 [list_models](https://air.build/cn/docs/mcp-tools/list_models/)），团队的默认模型已解析为具体模型 |
| `agents[].replyRegister` | 已停用：`null` |
| `agents[].host` | 团队的主持智能体为 `true`。团队总有一个 |
| `agents[].enabled` | 智能体已关闭时为 `false`：它不会被唤醒，它的私信为只读 |
| `people` | 团队中的人，拥有者在前，其他人按加入顺序排列 |
| `people[].userId` | 此人的 ID（UUID） |
| `people[].name` | 此人的名字 |
| `people[].role` | `owner` 或 `member` |
| `people[].joinedAt` | 加入的时间（ISO 8601），或 `null` |

```json
{
  "agents": [
    {
      "agentId": "designer",
      "name": "Designer",
      "template": "designer",
      "role": "Designs the app's screens",
      "bio": "Layout, icons and colours.",
      "persona": null,
      "rolePrompt": null,
      "model": "<model id>",
      "replyRegister": null,
      "host": false,
      "enabled": true
    }
  ],
  "people": [
    { "userId": "00000000-0000-0000-0000-000000000000", "name": "Notes", "role": "owner", "joinedAt": "2026-11-01T08:00:00Z" }
  ]
}
```

## 错误

| 消息 | 何时出现 | 怎么办 |
| --- | --- | --- |
| Team not found. | 团队不存在，或你不在其中 | 使用 [list_teams](https://air.build/cn/docs/mcp-tools/list_teams/) 返回的 `teamId` |

所有工具都可能返回的错误见 [服务器与登录](https://air.build/cn/docs/mcp-tools/server/#errors)。

## 示例

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