Clear an area to air
clear_blocksSet every block in a box to air, emptying containers without drops and optionally removing entities, with an undo snapshot. Use it to clear a defined Minecraft area.
Instructions
Sets every block in the box to air (containers are emptied, nothing drops). With include_entities (default on) it also removes the entities in the box first, without drops; players are never touched. Snapshots the area, entities included, 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>"
},
"name": "clear_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The opposite corner [x, y, z], inclusive | |
| from | Yes | One corner [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 |
| 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). |