Place blocks
set_blocksPlace single Minecraft blocks or fill a box between two corners, choosing replace, keep-air, or replace-type modes and optional physics updates.
Instructions
Place up to 64 single blocks (blocks), or fill a box between two corners, inclusive (box). A block is a key or full state: stone, minecraft:oak_stairs[facing=east]. Box modes: replace sets everything, keep only fills air, replace_type only changes blocks of type replace; the server caps the volume (32768 blocks by default). physics updates neighbors (sand falls, water flows). WorldAPI keeps what was there until the server stops, so undo_change can put it back; a box answers its change id. Still confirm big changes with the user, and read the box with get_block's area first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box | No | Fill between two corners, inclusive | |
| world | No | World name, such as `world`, `world_nether`, `world_the_end`, or a key like `minecraft:the_nether` | world |
| blocks | No | Single blocks at x, y, z | |
| physics | No | Sand falls, water flows |