threads_get_member
Look up a user's thread membership to verify they belong before thread-only actions, returning join timestamp, flags, and a not-a-member error when absent.
Instructions
Purpose: Look up one user's thread-membership record (join timestamp, flags).
When to use: - Verify a user is in a thread before performing thread-only actions.
Returns: {thread_id, user_id, join_timestamp, flags}. Returns 404-shaped error if the user is not a member.
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": {
"thread_id": "<thread_id>",
"user_id": "<user_id>"
},
"name": "threads_get_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | User to query | |
| thread_id | Yes | Thread to look up | |
| with_member | No | Include the underlying guild member object in the Discord response |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||