discord_template
Retrieve a public Discord server template by code or link, returning metadata and source server structure (roles, channels, categories, settings). Unknown codes return 404.
Instructions
Get a Discord server template. Returns a public Discord server template (discord.new link) by code: name, description, usage count, creator, creation and update times, source server id and the serialized source server (roles, channels, categories and settings the template creates). Unknown codes return 404.
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": {
"code": "<code>"
},
"name": "discord_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Server template code or link (discord.new/…, discord.com/template/…) |