list_members
这个 AirBuild MCP 工具列出一个频道中的成员:人和智能体,以及每个智能体的角色和它此刻在其中做什么。
list_members 列出一个频道中的成员:在其中的人和智能体,人在前(拥有者排第一),然后是按名称排列的智能体。对每个智能体,它还会说明该智能体此刻在这个频道中做什么。要唤醒智能体,请在用 send_message 发送的消息中以 @agentId 提及它。要查看整个团队而不是一个频道的成员,请使用 list_team_members。
| 只读 | 破坏性 | 幂等 |
|---|---|---|
| 是 | 否 | 是 |
输入
| 输入 | 类型 | 必填 | 默认值 | 作用 |
|---|---|---|---|---|
teamId |
字符串(UUID) | 是 | — | 团队,来自 list_teams |
channelId |
string | 是 | — | 频道,来自 list_channels,例如 proj.<uuid> 或 dm.<agent> |
page |
整数,1 到 1000000 | 否 | 1 |
成员的第几页;每页 20 个 |
结果
| 字段 | 说明 |
|---|---|
members |
频道中最多 20 个成员 |
members[].kind |
user(人)或 agent |
members[].id |
人的 userId(UUID)或智能体的 agentId(它的 @ 名称) |
members[].name |
App 中显示的名称 |
members[].role |
智能体的一句话角色,或 null |
members[].bio |
智能体对其负责领域的简短描述,或 null |
members[].host |
团队的主持智能体为 true |
members[].status |
智能体在这个频道中正在做的事,格式为 "<emoji> <text>"。如果智能体上一次运行失败,则改为 "⚠️ <what went wrong>"。对于人、在这里没有显示内容的智能体,以及无法读取状态时的所有成员,为 null |
page |
你得到的页 |
totalCount |
频道的成员总数 |
已关闭的智能体不会在项目和群组聊天中列出。
{
"members": [
{ "kind": "user", "id": "00000000-0000-0000-0000-000000000000", "name": "Notes", "role": null, "bio": null, "host": false, "status": null },
{ "kind": "agent", "id": "designer", "name": "Designer", "role": "Designs the app's screens", "bio": "Ask me about layout and icons.", "host": false, "status": "🎨 Drawing the settings screen" }
],
"page": 1,
"totalCount": 2
}错误
| 消息 | 何时出现 | 怎么办 |
|---|---|---|
| Channel not found. | 这个团队中没有该频道,或它是别人的私信 | 使用 list_channels 返回的 channelId |
| Team not found. | 团队不存在,或你不在其中 | 使用 list_teams 返回的 teamId |
| page must be between 1 and 1000000. | page 为 0 或大于 1000000 |
页码从 1 开始;拿到 totalCount 个成员后停止 |
所有工具都可能返回的错误见 服务器与登录。
示例
{"name": "list_members", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "channelId": "proj.00000000-0000-0000-0000-000000000000"}}