leave_guild
Leave a Discord server using its guild ID, optionally noting you were only lurking. Use it to exit a guild your account or bot has joined.
Instructions
Leave a server. [DELETE /users/@me/guilds/{guild_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": {
"guild_id": "<guild_id>"
},
"name": "leave_guild"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lurking | No | true if you were only lurking | |
| guild_id | Yes | Server (guild) ID |