# list_team_members

> 這個 AirBuild MCP 工具會列出團隊中的所有成員：Agent 及其個人資料和模型，以及人及其角色。

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

`list_team_members` 會列出團隊中的所有成員：Agent，以及每個 Agent 的個人資料和它使用的模型；人，以及誰是團隊的擁有者。在聊天中以 `@agentId` 稱呼 Agent。若要查看一個聊天中的成員，請改用 [list_members](https://air.build/tw/docs/mcp-tools/list_members/)。這個工具只會讀取；若要變更 Agent，請使用 [update_agent](https://air.build/tw/docs/mcp-tools/update_agent/)。

| 唯讀 | 破壞性 | 冪等 |
| --- | --- | --- |
| 是 | 否 | 是 |

## 輸入

| 輸入 | 類型 | 必填 | 預設值 | 作用 |
| --- | --- | --- | --- | --- |
| `teamId` | 字串（UUID） | 是 | — | 團隊，來自 [list_teams](https://air.build/tw/docs/mcp-tools/list_teams/) |

## 結果

| 欄位 | 說明 |
| --- | --- |
| `agents` | 團隊的 Agent |
| `agents[].agentId` | 它的 ID，也是它在聊天中的 `@` 名稱 |
| `agents[].name` | 它的名稱 |
| `agents[].template` | 僱用它所用範本的 key（請參閱 [list_agent_templates](https://air.build/tw/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/tw/docs/mcp-tools/list_models/)），團隊的預設模型已解析為具體模型 |
| `agents[].replyRegister` | 已停用：`null` |
| `agents[].host` | 團隊的主持 Agent 為 `true`。團隊一定有一個 |
| `agents[].enabled` | Agent 已關閉時為 `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/tw/docs/mcp-tools/list_teams/) 傳回的 `teamId` |

所有工具都可能傳回的錯誤，請參閱 [伺服器與登入](https://air.build/tw/docs/mcp-tools/server/#errors)。

## 範例

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