threads_list_members
Lists all members in a Discord thread with user IDs and join timestamps, enabling member audits and mention-list building. Supports pagination and optional guild member hydration.
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 | |||