Copy an area
copy_blocksCopies a defined block region to a new location, optionally skipping air to preserve existing blocks, and snapshots the destination first for undo.
Instructions
Copies the box from..to so its lowest corner lands at destination (with /clone). skip_air keeps what is already at the destination where the source is air. Snapshots the destination first for undo.
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>",
"destination": "<destination>"
},
"name": "copy_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The opposite corner [x, y, z], inclusive | |
| from | Yes | One corner [x, y, z] | |
| skip_air | No | Do not copy air. Default false. | |
| dimension | No | Dimension. Default overworld. | overworld |
| destination | Yes | Where the lowest corner of the copy goes [x, y, z] | |
| skip_backup | No | Only for areas too big for an undo snapshot, after backup_world. Default false. |