Add thread member
add_thread_memberAdds a member to a Discord thread, previewing the change first and requiring a confirm token before granting access to private thread history.
Instructions
Pull a member into a thread. Adding someone to a private thread they cannot see now lets them read all of it, earlier messages included, so that needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token adds them.
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": "<thread>",
"member": "<member>"
},
"name": "add_thread_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| member | Yes | Member name or user ID. | |
| thread | Yes | Thread name or ID. | |
| confirm_token | No | The token from this exact action's preview. Where the app can show a confirmation dialog, calling with it asks the user there, and it happens only if they agree. |