guild_get_widget_image_url
Generate a public Discord guild widget image URL to embed in web pages or markdown. Select a style to receive the direct PNG link.
Instructions
Purpose: Synthesize a public widget PNG URL. No REST call is performed - the agent decides whether to fetch.
When to use:
Embed a guild widget image on a webpage or in markdown.
When NOT to use:
Want JSON data → use
guild_get_widget. Want admin settings → useguild_get_widget_settings.
Returns: {url, style}. The URL is https://discord.com/api/guilds/{id}/widget.png?style={style}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Widget style: 'shield' (default, compact) or 'banner1'..'banner4' (large banner variants) | |
| guild_id | Yes | Guild to render |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||