threads_list_members
List members of a Discord thread to audit private thread access and create mention lists. Use pagination cursors and optional member hydration for full details.
Instructions
Purpose: List members of a thread.
When to use:
Audit who is in a private thread; build mention lists.
Pagination: Discord requires the GUILD_MEMBERS privileged intent for with_member=true. after is a snowflake cursor.
Returns: {members:[{user_id, join_timestamp, flags}], count, thread_id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Pagination cursor: get members with id > this | |
| limit | No | Max results (1-100, default 100) | |
| thread_id | Yes | Thread to list members for | |
| with_member | No | Whether Discord should hydrate the underlying guild member object |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||