Teams List Channels
teams_list_channelsLists the channels of a Microsoft Teams team (team_id from teams_list_teams), by name, from Microsoft 365. The channel id feeds teams_read_channel_messages. Reads at most 20 pages of channels. When the read is cut (by that bound, or because the call ran out of time) the answer has truncated: true. Needs a work or school Microsoft 365 account connected with connect_m365_account (personal Microsoft accounts have no Teams reads). When no Microsoft 365 account is connected at all, it reads the Teams app's local cache on this Mac instead (needs Full Disk Access, can be hours or days behind); the answer's source says which one answered (graph or local_cache).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Which connected Microsoft 365 account to use: its email (UPN), its id from list_m365_accounts, or its display name when unique. Leave it out to use the default account. | |
| team_id | Yes | Team ID from teams_list_teams |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| count | No | ||
| error | No | ||
| source | No | Which source answered: graph (Microsoft 365) or local_cache (the Teams app's cache on this Mac, used only when no Microsoft 365 account is connected). | |
| account | No | The email (UPN) of the Microsoft 365 account this call used. | |
| channels | No | ||
| fix_tool | No | ||
| truncated | No | Present and true only when the read was cut before it had everything it was asked for. |