Kick member
discord_
Destructive
- Toolset
- Members
members - Discord permission
- Kick Members
- Context cost
- 216 tokens, estimated865 bytes of definition, divided by 4
Remove a member from the server. They can rejoin with a new invite (unlike a ban). Requires the Kick Members permission, and the bot's top role must be higher than the target's. Use discord_ to block re-entry. The reason is recorded in the audit log.
Risk and annotations
Read-onlyreadOnlyHint | no | Can modify your server. |
|---|---|---|
DestructivedestructiveHint | yes | May perform destructive updates, so clients can ask before running it. |
IdempotentidempotentHint | no | Repeating the call can have an additional effect. |
Open worldopenWorldHint | yes | Interacts with an external system: Discord. |
Annotations are hints the server declares. Clients use them to decide when to ask you before a call.
Parameters
| Parameter | Type | Rules | Description |
|---|---|---|---|
| guild_ | string | pattern ^\d{17,20}$ | Discord server (guild) ID (snowflake). |
| user_ | string | pattern ^\d{17,20}$ | Discord user ID (snowflake) of the member to kick. |
| reasonoptional | string | none | Optional reason recorded in the server audit log. |
Output
This tool declares no output schema. Its description says what it returns; this page shows no example rather than invent one.
Related tools
Named in its description
Also in Members
-
List members, Read-only
discord_list_ members -
Get member info, Read-only
discord_get_ member_ info -
Unban member, Write
discord_unban_ member -
Timeout member, Write
discord_timeout_ member -
Search members, Read-only
discord_search_ members -
Set nickname, Write
discord_set_ nickname -
List bans, Read-only
discord_list_ bans -
Bulk ban, Destructive
discord_bulk_ ban -
Prune inactive members, Destructive
discord_prune_ members
Raw definition (865 bytes)
{
"name": "discord_kick_member",
"description": "Remove a member from the server. They can rejoin with a new invite (unlike a ban). Requires the Kick Members permission, and the bot's top role must be higher than the target's. Use discord_ban_member to block re-entry. The reason is recorded in the audit log.",
"inputSchema": {
"type": "object",
"properties": {
"guild_id": {
"type": "string",
"pattern": "^\\d{17,20}$",
"description": "Discord server (guild) ID (snowflake)."
},
"user_id": {
"type": "string",
"pattern": "^\\d{17,20}$",
"description": "Discord user ID (snowflake) of the member to kick."
},
"reason": {
"description": "Optional reason recorded in the server audit log.",
"type": "string"
}
},
"required": [
"guild_id",
"user_id"
],
"additionalProperties": false
},
"annotations": {
"title": "Kick member",
"readOnlyHint": false,
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true
}
}