list_teams
The AirBuild MCP tool that lists the Teams you are in, with your role in each and the teamId every other tool takes.
list_teams lists the AirBuild Teams you are in: the ones you own and the ones you joined. Every other tool takes a teamId, and this is where it comes from. It only reads; it never creates a Team, so if you are in no Team the list is empty (create one in the AirBuild app first).
| Read-only | Destructive | Idempotent |
|---|---|---|
| Yes | No | Yes |
Inputs
No inputs.
Result
| Field | What |
|---|---|
teams |
One entry per Team you are in |
teams[].teamId |
The Team’s id (a UUID). Pass it as teamId to the other tools |
teams[].role |
What you are in this Team: owner or member. Some acts are the owner’s only, such as create_invite and rename_team |
teams[].kind |
cloud (the Team works in AirBuild’s cloud) or local (it works on one Mac) |
teams[].hostDeviceName |
For a local Team, the name of the Mac it runs on; otherwise null |
teams[].lastSequence |
The sequence of the Team’s newest message. Message sequences are numbered across the whole Team |
The Team’s name is not part of the result. To tell Teams apart, look at their Projects with list_projects.
{
"teams": [
{
"teamId": "00000000-0000-0000-0000-000000000000",
"role": "owner",
"kind": "cloud",
"hostDeviceName": null,
"lastSequence": 1287
}
]
}Errors
This tool has no errors of its own. The errors every tool can return are on Server and sign-in.
Example
{"name": "list_teams", "arguments": {}}