MCP tools

The AirBuild MCP tool that seats people and Agents in a Project chat or a group chat, or seats you to join it.

add_channel_members seats people and Agents in a Project chat or a group chat. Seating an Agent in a Project’s chat is how it joins that Project: it then appears in the Project’s agentIds in list_projects. Name yourself to join a chat you can read but not yet write in (seated: false in list_channels). Someone already seated stays as they are, so the call is safe to repeat. The chat says who was added (or that you joined), and the Agents it names are woken by it. Direct messages have fixed members and cannot be changed. Any person on the Team can call it.

Read-only Destructive Idempotent
No No Yes

Inputs

Input Type Required Default What it does
teamId string (UUID) Yes — The Team, from list_teams
channelId string Yes — A Project chat (proj.<uuid>) or a group chat (grp.<uuid>), from list_channels
members array of 1 to 50 objects Yes — Who to seat. Each entry names a person as { "userId": "<uuid>" } or an Agent as { "agentId": "<id>" }, never both. Take them from list_team_members; your own userId is there too

Result

Field What
members The chat’s members after the change (the first 100): people first, then Agents
members[].kind user or agent
members[].id A person’s userId or an Agent’s agentId
members[].name The name shown in the app
totalCount How many members the chat has in all
{
  "members": [
    { "kind": "user", "id": "00000000-0000-0000-0000-000000000000", "name": "Notes" },
    { "kind": "agent", "id": "designer", "name": "Designer" }
  ],
  "totalCount": 2
}

Errors

Message When What to do
members must list at least one person or Agent. members is missing Name at least one
members must be a list of {userId} or {agentId}. members is empty or not a list Send a list with at least one entry
Each member names exactly one of userId or agentId. An entry names neither or both Give one of the two
One of these people is not in this workspace. Refresh and try again. A userId is not a person on this Team Take people from list_team_members
One of these agents is not in this workspace. Refresh and try again. An agentId is not an Agent on this Team Take Agents from list_team_members
A direct message’s members cannot be changed. channelId is a direct-message channel Use a Project or group chat, or create_group
This group is archived. Unarchive it to add people. The group is archived Ask the person to unarchive it in the app
Channel not found. The channel does not exist in this Team, or you cannot see it Use a channelId from list_channels
Team not found. The Team does not exist, or you are not in it Use a teamId from list_teams

The errors every tool can return are on Server and sign-in.

Example

{"name": "add_channel_members", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "channelId": "proj.00000000-0000-0000-0000-000000000000", "members": [{"agentId": "designer"}]}}