threads_remove_member
Remove a specified guild user from a Discord thread to clean up private threads and manage thread membership.
Instructions
Purpose: Remove a guild user from a thread.
When to use: - Drop a user out of a private thread; thread cleanup.
When NOT to use: - Removing the bot itself → use threads_leave.
Returns: {removed, thread_id, user_id}.
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_remove_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | User to remove | |
| thread_id | Yes | Thread to remove from |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||