modify_guild_widget
Update a Discord server's widget settings by enabling or disabling it and assigning a channel, with an optional audit log reason.
Instructions
Modify Guild Widget. [PATCH /guilds/{guild_id}/widget]
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": "modify_guild_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Reason (shown in the audit log) | |
| enabled | No | Enabled | |
| guild_id | Yes | Server (guild) ID | |
| channel_id | No |