Export a design as a game file
exportTurn a design into a file the user loads in Minecraft Java Edition 26.3, so they need not place every block by hand: format "nbt" is the vanilla structure file (load it with a structure block or /place template, no mods), "schem" a Sponge schematic (WorldEdit, Litematica). Give either design or example. The file comes back as an embedded resource; the viewer from show also has a download button. Use it when the user wants to build the machine in their world. Do not use it to test a design: use simulate.
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": "export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| design | No | A machine: a list of blocks plus what it is for. See the server instructions for block types and rules. | |
| format | No | schem (WorldEdit, Litematica; the default) or nbt (vanilla structure file) | |
| example | No | Id of a built-in example to export instead of a design |