users_leave_guild
users_leave_guild
Section titled “users_leave_guild”Category: users
Make the authenticated bot/user leave a guild. DESTRUCTIVE — bot loses access immediately.
When to use
Section titled “When to use”- Decommission the bot from a guild it should no longer be in.
When NOT to use
Section titled “When NOT to use”| Field | Type | Required | Description |
|---|---|---|---|
guild_id | string | yes | Guild to leave |
Returns
Section titled “Returns”\{left, guild_id\}. Pass __confirm:true AND set MCP_DRY_RUN=false to actually leave.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
left | boolean | yes | |
guild_id | string | yes | Discord guild (server) ID |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | no |
| Destructive | yes |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | yes (__confirm:true required) |