Export an area to .schem
export_schematicSaves a selected box from..to as a Sponge .schem file with block states, chest/sign data, and entities so you can paste it on any WorldEdit server. Choose version 3 or 2 for compatibility.
Instructions
Saves the box from..to as a Sponge schematic (.schem) inside the test server folder, with block states and block data (chest contents, sign text). Version 3 (default) suits WorldEdit 7.3 and newer; use version 2 for older tools. The file can be pasted on any server with WorldEdit or a similar plugin. Entities whose position is inside the box (item frames, paintings, armor stands, mobs, minecarts, boats) are saved with all their data. Limited to maxImportBlocks and maxEntities.
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": {
"from": "<from>",
"to": "<to>",
"file": "<file>"
},
"name": "export_schematic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | [x, y, z] | |
| file | Yes | Path inside the test server folder ending in .schem, for example "schematics/house.schem" | |
| from | Yes | [x, y, z] | |
| confirm | No | Set true only after the person agreed to this change (needed while confirmDestructive is on). | |
| version | No | Sponge schematic version, 3 (default) or 2 | |
| dimension | No | Dimension. Default overworld. | overworld |
| overwrite | No | Replace a file that exists. Default false. | |
| include_entities | No | Include entities (item frames, paintings, armor stands, mobs, minecarts, boats). Default: includeEntities in the config (on). |