Update member
update_memberEdit a Discord member's nickname or voice state—server mute, deafen, or move channels—with confirmation for sensitive changes.
Instructions
Edit a member's nickname or voice state. Voice changes (server mute, server deafen, move to another voice channel) only apply while the member is connected to voice. Role changes go through assign_role and remove_role. Moving someone into a voice channel they cannot join themselves lets them hear it, and lifting a server mute or deafen undoes what a moderator did, so those need confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change. Everything else, muting and deafening included, happens at once.
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": {
"member": "<member>"
},
"name": "update_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. | |
| reason | No | The reason recorded in the server's audit log. | |
| nickname | No | New nickname, or empty string to clear it. | |
| server_mute | No | true server-mutes the member in voice, false unmutes. Only while they are in a voice channel. | |
| 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. | |
| move_to_voice | No | Voice channel name or ID to move the member into. | |
| server_deafen | No | true server-deafens the member in voice, false undeafens. Only while they are in a voice channel. |