Home / Servers / Discord API / update_guild_template
PATCH /guilds/{guild_id}/templates/{code}
An MCP tool from the Discord API server, hosted on mcp.hjlabs.in.
PATCH /guilds/{guild_id}/templates/{code} [PATCH /guilds/{guild_id}/templates/{code}]
Name on the gateway: discord_api__update_guild_template · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
guild_id required | string | guild_id parameter |
code required | string | code parameter |
name | string | |
description | string |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "discord_api__update_guild_template",
"arguments": {
"guild_id": "…",
"code": "…"
}
}Or connect the Discord API server directly, which lists 250 tools including this one:
claude mcp add --transport http hj-discord-api https://mcp.hjlabs.in/mcp/discord-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the patch /guilds/{guild_id}/templates/{code} tool with guild_id set to ….
More from Discord API
- GET /applications/@me
- PATCH /applications/@me
- GET /applications/{application_id}
- PATCH /applications/{application_id}
- GET /applications/{application_id}/activity-instances/{instance_id}
- POST /applications/{application_id}/attachment
- GET /applications/{application_id}/commands
- PUT /applications/{application_id}/commands
- All 250