Import a .schem into the world
import_schematicPastes a Sponge .schem into a Minecraft world at a chosen origin, restoring blocks, chests, signs, and entities, with optional area clearing and an undo snapshot.
Instructions
Pastes a Sponge schematic (.schem, version 2 or 3, as WorldEdit and most editors save) from the test server folder into the world with its lowest corner at origin, including chests, signs and other block data. include_air (default true) clears the area first so the result matches the file exactly. Snapshots the area first for undo. Entities in the file (item frames, paintings, armor stands, mobs, minecarts, boats) are summoned after the blocks, with fresh UUIDs; leads stay tied and riders stay seated. include_air also removes the entities already in the area. 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": {
"file": "<file>",
"origin": "<origin>"
},
"name": "import_schematic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path inside the test server folder ending in .schem, for example "schematics/house.schem" | |
| origin | Yes | Where the lowest corner goes [x, y, z] | |
| confirm | No | Set true only after the person agreed to this change (needed while confirmDestructive is on). | |
| dimension | No | Dimension. Default overworld. | overworld |
| include_air | No | Clear the area first so air in the file replaces what is there. Default true. | |
| skip_backup | No | Only for areas too big for an undo snapshot, after backup_world. Default false. | |
| include_entities | No | Include entities (item frames, paintings, armor stands, mobs, minecarts, boats). Default: includeEntities in the config (on). |