guild_modify_widget
Toggle a Discord guild's public widget on or off and set the invite channel it points to, recording an optional audit reason.
Instructions
Purpose: Update widget settings (toggle enabled, set invite channel).
When to use: - Toggle the public widget on/off, change which channel an embed-invite points at.
Returns: {enabled, channel_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": "guild_modify_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | ||
| guild_id | Yes | Guild to modify | |
| channel_id | No | ||
| audit_reason | No | Reason recorded in audit log (X-Audit-Log-Reason header) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||