Update server widget
update_server_widgetEnable or disable a Discord server's public widget, set or clear its invite channel, and confirm before enabling public access.
Instructions
Enable or disable the widget, or point its invite channel. An enabled widget shows the server's name, who is online, and its voice channels to anyone on the web, and with an invite channel it lets anyone join. So turning it on, or pointing it at an invite channel while it is on, needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change. Turning it off or clearing the channel happens at once.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_server_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| channel | No | Invite channel name or ID, or none to clear. | |
| enabled | No | true turns the public widget on, false turns it off. | |
| confirm_token | No | The token from this exact action's preview. Where the app can show a confirmation dialog, calling with it asks the user there, and it happens only if they agree. |