Place Block
minecraft_place_blockPlaces a block from inventory at specified coordinates, automatically walking within reach and finding a solid surface to place against.
Instructions
Places one block from the bot's inventory at the given world coordinates. Automatically walks within reach first and finds a solid neighboring block to place against. The target coordinates must currently be empty (air) and adjacent to at least one solid block — you can't place a block floating in mid-air.
Returns: { message: string } Errors: item not in inventory, no solid neighbor to place against, or unreachable.
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": {
"x": "<x>",
"y": "<y>",
"z": "<z>",
"block_name": "<block_name>"
},
"name": "minecraft_place_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| z | Yes | ||
| block_name | Yes | Exact block/item id in inventory, e.g. "oak_planks", "cobblestone", "torch" |