delete_guild_template
Delete a Discord server template by guild ID and template code, optionally adding an audit-log reason.
Instructions
Delete Guild Template. [DELETE /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": "delete_guild_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Reason (shown in the audit log) | |
| guild_id | Yes | Server (guild) ID | |
| template_code | Yes | Server template code (discord.new/xyz) |