setblock
Set a block at exact coordinates with replace, destroy, or keep modes to control block placement.
Instructions
Place a block at a specific position with optional 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": "setblock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Target X coordinate | |
| y | Yes | Target Y coordinate | |
| z | Yes | Target Z coordinate | |
| mode | No | setblock mode (default replace) | |
| block | Yes | Minecraft block id/state string |