apply_blueprint
Build or complete a Discord server from a template, exported file, or custom layout. Preview changes in plan mode, then apply to create only missing roles and channels without deleting anything.
Instructions
Build or complete a server from a blueprint: a built-in template (list_templates), a saved export (file), or a layout you write (blueprint: {roles, categories:[{name, overrides, channels:[{name, type, topic, slowmode, tags, overrides}]}], channels}). mode "plan" lists the steps without changing anything; "apply" does them. Only what is missing is created, matching names loosely (emojis and dashes ignored), so it is safe to run again to continue. Nothing is deleted.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "apply_blueprint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | Use this bot (name or id) instead of choosing automatically | |
| file | No | Path of a blueprint JSON (e.g. from export_server_structure) | |
| mode | No | plan | |
| server | No | Server name or id. Optional when the bot is in one server or DISCORD_GUILD_ID is set. | |
| dry_run | No | Show the requests that would be made without changing anything | |
| template | No | ||
| blueprint | No | ||
| background | No | Apply as a background job (for big layouts); follow it with job_status | |
| update_existing | No | Also move existing channels into the blueprint's categories, update roles that differ and reorder | |
| copy_from_server | No | Copy the structure of another server a configured bot is in | |
| discord_template | No | A Discord server template link (discord.new/… or discord.com/template/…) or its code, e.g. from a template website |