Place a block
place_blockPlace a block of a given material at coordinates, against an adjacent face. It consumes from the player's inventory or places directly in creative mode, for building and redstone tasks.
Instructions
Place a block of the given material at the coordinates, against the adjacent face. Uses the player's inventory (or places directly in creative mode).
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": "<block>"
},
"name": "place_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate | |
| y | Yes | Y coordinate | |
| z | Yes | Z coordinate | |
| face | No | Block face to place against (e.g. up, north, down) | |
| block | Yes | Material to place, as a lowercase Bukkit material key (e.g. "diamond_sword", "oak_planks") | |
| player | No | Online player name (defaults to the first online player) |