modify_guild_template
Updates an existing Discord server template's name or description using its guild ID and template code.
Instructions
Modify Guild Template. [PATCH /guilds/{guild_id}/templates/{template_code}]
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>",
"template_code": "<template_code>"
},
"name": "modify_guild_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name | |
| reason | No | Reason (shown in the audit log) | |
| guild_id | Yes | Server (guild) ID | |
| description | No | ||
| template_code | Yes | Server template code (discord.new/xyz) |