set_blocks
Place or remove Minecraft blocks in order using block-state strings, with player-like placement or /setblock behavior and per-entry error reporting.
Instructions
Place or remove blocks, in order. Each block is a Minecraft block-state string, e.g. "stone", "repeater[out=east,delay=2]", "redstone_wall_torch[facing=north]", "lever[face=wall,facing=west]", "air" (= break). mode "place" (default) behaves like a player: support is required (dust/torches/repeaters need a block under them, place supports first) and the usual block updates fire. mode "setblock" behaves like /setblock. Errors are reported per entry; later entries still run.
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": {
"blocks": "<blocks>"
},
"name": "set_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| blocks | Yes |