Fill Blocks
fillBlocksFill an inclusive box between two coordinates with a block type, optionally overwriting existing blocks or clearing the region using air.
Instructions
Fill an inclusive box in one dimension with one block type and optional states. Corners may be supplied in any order. By default only air coordinates are filled; set overwrite to true to replace existing blocks. Use "minecraft:air" with overwrite to clear a region. The maximum volume per request is 16,384 blocks.
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>",
"blockType": "<blockType>"
},
"name": "fillBlocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| blockType | Yes | Block id, such as "minecraft:stone" or "stone"; states are optional, for example "oak_stairs[facing=south]" | |
| dimension | No | Dimension: "overworld" (default), "the_nether" or "the_end" | overworld |
| overwrite | No | Replace existing non-air blocks when true; default false fills air only |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| block | Yes | ||
| placed | Yes | ||
| states | Yes | ||
| volume | Yes | ||
| changed | Yes | ||
| removed | Yes | ||
| skipped | Yes | ||
| blockType | Yes | ||
| dimension | Yes | ||
| overwrite | Yes | ||
| displayName | Yes | ||
| modifiedBlockCount | Yes |