Fill a box
fill_regionFill a rectangular box with a chosen block, replacing all existing contents, or use air to clear the area. Blocks are placed without physics, so sand and water stay put until nearby updates.
Instructions
Fill a box (corners inclusive, any order) with one block, replacing everything inside; use 'air' to clear an area. Refuses boxes larger than 100,000 blocks. Blocks are placed without physics, so sand does not fall and water does not flow until neighbours update.
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": {
"x1": "<x1>",
"y1": "<y1>",
"z1": "<z1>",
"x2": "<x2>",
"y2": "<y2>",
"z2": "<z2>",
"block": "<block>"
},
"name": "fill_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | X of one corner of the box (inclusive). | |
| x2 | Yes | X of the opposite corner (inclusive). | |
| y1 | Yes | Y of one corner of the box (inclusive). | |
| y2 | Yes | Y of the opposite corner (inclusive). | |
| z1 | Yes | Z of one corner of the box (inclusive). | |
| z2 | Yes | Z of the opposite corner (inclusive). | |
| block | Yes | Block id such as 'minecraft:stone' or 'oak_planks' (the minecraft: namespace is optional). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||