list_members
List members of a Teams chat or channel to retrieve user IDs and display names for @-mentions or presence checks, with pagination and optional cached or offline reads.
Instructions
List members of a chat or channel with Entra user_id and display_name for @-mentions or get_presence (use search_users for directory lookup). Calls Graph (1+ requests) unless cursor or offline=true reads the local SQLite cache only. Returns paginated { conv_key, title, members, returned, has_more, next_cursor, total }.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>"
},
"name": "list_members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of members to return per page (1..1000, default 50). | |
| cursor | No | Opaque next_cursor from a previous page; reads the next page from the local SQLite cache without calling Microsoft Graph. | |
| target | Yes | Conversation conv_key (chat:... or chan:team:channel), "Team/Channel", or unique conversation title substring. | |
| offline | No | Read cached members from the local SQLite cache without calling Microsoft Graph (errors if members were never cached). |