use_guild_template
Creates a new Discord server from a template code so you can launch a configured server and set its name, icon, and audit-log reason.
Instructions
Create a new server from a template. [POST /guilds/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": {
"template_code": "<template_code>",
"name": "<name>"
},
"name": "use_guild_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | Icon image: local file path, http(s) URL or data: URI | |
| name | Yes | Name | |
| reason | No | Reason (shown in the audit log) | |
| template_code | Yes | Server template code (discord.new/xyz) |